-
Notifications
You must be signed in to change notification settings - Fork 4
Basic Widget Properties
Gregory Miller edited this page Aug 4, 2019
·
2 revisions
The following properties are shared among almost all of the controls. These structure the widget and working area.
The "working area" is defined as the rectangle within the widget where controls are drawn. This area excludes the title, border and bottom buttons.
- Sets the type/style of the controls that will be displayed. (A mixed type is in the works.)
- The options are "Button Bar,Dialog Box,Form Backdrop,Numeric Up/Down,Sliders,Switches."
- Switching types immediately empties myData, all other properties are the same.
- still in works
- When true, displays a solid rectangle for the main working area. (Again, not including the title and bottom buttons.)
- Sets a color for the main working area
- Offsets the working area from the left and right sides by the given number of pixels. This is used to increase the border around the controls horizontally.
- Offsets the working area from the top and bottom by the given number of pixels. This is used to increase the border around the controls vertically. When the title and/or the bottom buttons are displayed, this offset is only for the working area.
- When greater than 0, creates a border around the edge of the widget.
- Default = 5
- Sets the radius angle to make a rounded rectangle of the edge of the widget as well as the square of the working area if displayed. Set to 0 for a non-rounded rectangle.
- Default = 13
- Sets the number of columns the controls will be laid out in.
- Default = 1
- Adds extra space from the top and from the bottom of the working area before controls are drawn.
- Default = 2
- Adds extra space from the sides of the working area before placing controls.
- Default = 2