Skip to content

Containers and Layouts

Mike Kienenberger edited this page May 3, 2018 · 7 revisions

Containers and Layouts

  • {talk about what containers and layouts are, and how to use them}
  • {talk about layout info}
  • {note that layout info hints always apply to the layout which is the parent of the content which is the parent of this widget.}

LayoutInfo

Scrollable Area (ScrollableArea)

A layout that can be larger in size than the visible display area (viewport). The viewport can be moved to show other areas of the content of the layout. A scrollable area is typically is bordered by vertical and horizontal scrollbars which allow the user to move the viewport to change which part of the scrollable area is visible.

Name Description
content The widget or layout to render inside the box
verticalScrollbar true if a vertical scroll bar should be displayed. Default is true.
horizontalScrollbar true if a horizontal scroll bar should be displayed. Default is false.
preferredWidth Preferred width of the total area.
preferredHeight Preferred height of the total area.
stickToBottom true if {unknown}. Default is false.

No layout hint properties are available for ScrollableArea.

Example images/layouts/ScrollableArea.png

Scrollable Area (ScrollableArea)

Relative (RelativeLayout)

{placeholder}

By-Row (RowLayout)

{placeholder} {also info about RowLayoutHint}

By-Column (ColumnLayout)

{placeholder}

Flowing (FlowLayout)

{placeholder}

Card (CardLayout)

{placeholder}

Multi-Row (MultiRowLayout)

{placeholder}

Zoomable (ZoomableLayout)

{placeholder}

MiG Layout (MigLayout)

See MigLayout

Property (PropertyLayout)

{placeholder} {a special kind of MigLayout}