<?xml version="1.0"?>
<!DOCTYPE gsmarkup>

<gsmarkup>
  <objects>
    <window title="proportional hbox demo">
      <vbox>
	<!-- Force it to expand so that you can change the window size
             and see the effect.  -->
	<hbox type="proportional" halign="expand">
	  <colorWell width="50" height="50" color="000000" halign="left" />
	  <colorWell width="50" height="50" color="FFFFFF" proportion="1.5" halign="left" />
	  <hspace />
	  <colorWell width="50" height="50" color="7777FF" proportion="1.5" halign="left" />
	  <colorWell width="50" height="50" color="red" halign="left" />
	</hbox>
	<hbox type="proportional" halign="expand">
	  <colorWell width="50" height="50" color="000000" halign="center" />
	  <colorWell width="50" height="50" color="FFFFFF" proportion="1.5" halign="center" />
	  <hspace />
	  <colorWell width="50" height="50" color="7777FF" proportion="1.5" halign="center" />
	  <colorWell width="50" height="50" color="red" halign="center" />
	</hbox>
	<hbox type="proportional" halign="expand">
	  <colorWell width="50" height="50" color="000000" halign="right" />
	  <colorWell width="50" height="50" color="FFFFFF" proportion="1.5" halign="right" />
	  <hspace />
	  <colorWell width="50" height="50" color="7777FF" proportion="1.5" halign="right" />
	  <colorWell width="50" height="50" color="red" halign="right" />
	</hbox>
	<hbox type="proportional" halign="expand">
	  <colorWell width="50" height="50" color="000000" halign="expand" />
	  <colorWell width="50" height="50" color="FFFFFF" proportion="1.5" halign="expand" />
	  <hspace />
	  <colorWell width="50" height="50" color="7777FF" proportion="1.5" halign="expand" />
	  <colorWell width="50" height="50" color="red" halign="expand" />
	</hbox>
      </vbox>
    </window>
  </objects>
</gsmarkup>
