SWT Absolute Layout

Absolute Layout or Null Layout is a simple x,y oriented layout. During layout, the live component is shown moving with a tooltip showing its current location or size. Dynamic snap / alignment points are provided to make it convenient to align the component with other components or the window margin. Resizing a component also snaps to the preferred size of the resized component or to the size (vertical or horizontal) of any other component on the same parent.

Main Features

  • Select Absolute Layout from the Layouts palette and drop it on a Window or Composite

  • Graphical feedback is provided for all widget size and position operations

 

Graphical Feedback

  • Position and size widgets using snapping feedback

 

  • Provide position and size feedback via tooltips

 

  • Align widgets horizontally and vertically

 

  • Indent widgets intelligently

  • Align widgets along text baselines

 

  • Align widgets to margins

  • Replicate widget heights and widths

 

  • Align widgets using optional grid

  • Align and center widgets using toolbar

  • Set alignment and size using floating layout assistant
  • Set size, location and/or bounds properties using the Property Pane