A few terms that are used frequently when discussing layouts : Layout Basics « SWT « Java Tutorial






  1. Client area: the size of the composite's bounds minus its trim.
  2. Margins: the number of pixels placed on an edge of the layout.
  3. Spacing: the number of pixels between the edges of children of a composite.
  4. Preferred size: best-display size.








17.93.Layout Basics
17.93.1.Layouts
17.93.2.A few terms that are used frequently when discussing layouts
17.93.3.Setting Layouts
17.93.4.Using Layout Data Objects to control layoutUsing Layout Data Objects to control layout
17.93.5.Laying Out Children of a CompositeLaying Out Children of a Composite
17.93.6.Layout term: bounds, client areaLayout term: bounds, client area