<xal xmlns="http://openxal.org/ui/java">
  <borderPane horizontalGap="12px" verticalGap="11px" padding="10px">
    <gridPane borderPosition="center" caption="Column and Row Spanning" columns="3" evenlySpace="false" gridVerticalGrabSpace="true" gridVerticalAlignment="fill" borderWidth="1px" borderStyle="solid" borderColor="#C0C0C0" gridHorizontalGrabSpace="true" gridHorizontalAlignment="fill" gridColumnSpan="1" horizontalGap="12px" verticalGap="11px" padding="10px">
      <label text="Label 1:"/> 
      <textField width="200px" backgroundColor="#FFFFFF" text="This is a textField with a fixed size..."/>
      <button height="25px" text="Button" width="100px" horizontalAlignment="right"/>
      <label text="Label 2:" gridHorizontalGrabSpace="false" gridVerticalGrabSpace="false"/>
      <textField height="25px" text="This is a textField that spans two columns..." gridColumnSpan="2" gridHorizontalGrabSpace="true" gridHorizontalAlignment="fill" backgroundColor="#FFFFFF" gridVerticalGrabSpace="false"/>
      <label text="Label 3:" gridRowSpan="2" gridVerticalGrabSpace="false"/>
      <textArea gridRowSpan="2" gridColumnSpan="2" gridHorizontalGrabSpace="true" gridVerticalGrabSpace="false" gridHorizontalAlignment="fill" gridVerticalAlignment="fill" x="9px" y="10px">This is a textArea that spans two columns and two rows...</textArea>
    </gridPane>
  </borderPane>
</xal>