-
Notifications
You must be signed in to change notification settings - Fork 4
Padding
BrayFlex edited this page Mar 15, 2023
·
24 revisions
The PADDING widget is used as a positioning tool to create an offset between itself and its parent/siblings.
- Overview
- Usage
- Attributes :: VisibleWidget (inherited attributes)
- Examples
- Other Widgets You May Find Useful:
To create space around or within widgets and reduce crowding
-
PADDINGis really useful to add more whitespace where widgets are crowded -
PADDINGshould be used to fine tune layouts and is supplemental to the more structured layout widgets
- Wrapping multiple children will layout within a
COLUMNand pad around that column.
Attributes :: VisibleWidget (inherited attributes)
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| all | int | null | The padding created on all sides of the widgets child. | |
| left | int | null | The padded space created on the left of the widget. | |
| right | int | null | The padded space created on the right of the widget. | |
| top | int | null | The padded space created on the top of the widget. | |
| bottom | int | null | The padded space created on the bottom of the widget. |
<FML>
<CENTER>
<BOX color="amber" expand="false">
<PADDING left="10" right="40" top="20" bottom="80">
<BOX color="black" width="400" height="400" />
</PADDING>
</BOX>
</CENTER>
</FML>Framework Markup Language is an open source programming language created by AppDaddy Software Solutions Inc. FML and is licensed under a fair source license agreement and is maintained by a community of developers.
- Quick Start
- Widget Structure
- Layout Basics
- Config
- Navigation
- Authentication
- Server Configuration
- Offline Use
- Resource Guides
-
<FML/>
- <BOX/>
- <CHART/>
- <COLUMN/>
- <DRAWER/>
- <FOOTER/>
- <FORM/>
- <GRID/>
- <HEADER/>
- <LIST/>
- <MAP/>
- <WINDOW/>
- <PAGER/>
- <ROW/>
- <SCROLLER/>
- <SPLITVIEW/>
- <STACK/>
- <TABLE/>
- <TABVIEW/>
- <TREEVIEW/>
- <WEBVIEW/>

Important Concepts