• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Layout > Classes RowLayout and RowData

15.5. Classes RowLayout and RowData

RowLayout positions controls in either rows or columns but, unlike FillLayout, does not fill all the available space in the composite. RowLayout also differs from FillLayout because it is rarely used with a single control. Instead, RowLayout is most often used to position a row of buttons. Although more flexible than FillLayout, RowLayout implements a very specific positioning algorithm that is often unsuitable for general use without resorting to nesting.[8] For example, a single instance of RowLayout could not be used satisfactorily to position every control in a typical “Find/Replace” dialog. However, the dialog probably could be implemented using multiple row layouts and composites.

[8] That is, it would require storing composites within composites purely to build a more complex layout.

To create an instance of RowLayout, use one of the following constructors.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint