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

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