Module dcanvas.widgets.layouts
Common layouts implementations.
Layouts are similar to the same in Android.
LinearLayout - either VerticalLayout or HorizontalLayout.
VerticalLayout - just LinearLayout with orientation=Orientation.Vertical
HorizontalLayout - just LinearLayout with orientation=Orientation.Horizontal
FrameLayout - children occupy the same place, usually one one is visible at a time
TableLayout - children aligned into rows and columns
ResizerWidget - widget to resize sibling widgets
Synopsis
import dcanvas.widgets.layouts;
Classes
| Name | Description |
FrameLayout
|
place all children into same place (usually, only one child should be visible at a time)
|
HorizontalLayout
|
Arranges children horizontally
|
LayoutItems
|
helper class for layouts
|
LinearLayout
|
Arranges items either vertically or horizontally
|
ResizerWidget
|
Resizer control.
Put it between other items in LinearLayout to allow resizing its siblings.
While dragging, it will resize previous and next children in layout.
|
TableLayout
|
layout children as table with rows and columns
|
VerticalLayout
|
Arranges children vertically
|