Element: Button
This element is a clickable button whose behavior can be configured using low-code ActionScript.
Buttons are among the most useful and common elements in an app.
Events
Buttons have a mouseUp event that can be configured using low-code. This event is triggered when the user clicks or touches the button.
Properties
Text Section
The properties in this section are used together with those in the appearance section to configure how the element is displayed on the screen. This section deals with the properties related to text used by the button.
| Property | Description |
|---|---|
| textSize | The text size used in the element’s text. |
| textFont | The font used in the element’s text. |
| textAlign | The text alignment used for the element’s text. It can be aligned to the left, right, or center. |
| textStyle | The style used in the element’s text. It can be bold, italic, underlined, and strikethrough. |
Geometry Section
Use the properties in this section to configure the responsive design behaviors for the element.
| Property | Description |
|---|---|
| responsive | sets if the element size should be responsive. |
| responsiveX | how the element resizes responding to screen changes in the X axis. |
| responsiveY | how the element resizes responding to screen changes in the Y axis. |
| lockResponsiveAspectRatio | Locks the aspect ratio of the element. |
| allowUnderNotch | Stretch to fill notch |
Size Section
This section is used to configure the button size and position.
| Property | Description |
|---|---|
| width | The value in pixels representing the distance between the left side of the element and its right side. |
| left | The value in pixels representing how distant element is from the left side of the window. |
| height | The value in pixels representing the distance between the bottom side of the element and its top side. |
| top | The value in pixels representing how far the element is from the top of the window. |
| lockAspectRatio | Locks the aspect ratio of the element. |
Appearance Section
This section is used to configure how the button looks.
| Property | Description |
|---|---|
| blendLevel | How transparent the element is. |
| foregroundColor | The color used in text. |
| useCustomIconColor | Custom Icon Color |
| customIconColor | Icon Color |
| showBackground | If the element background should be opaque or transparent. |
| backgroundColor | The color used for the element’s background. |
| roundRadius | How round the corners of the element are. |
| showBorder | Turns the visibility of the element’s borders on or off. |
| lineSize | the size of a line in pixels. |
| borderColor | the color used for the border of the element. |
| dropShadow | The drop shadow for the element. |
| dropShadowColor | Color of the drop shadow. |
| dropShadowSize | Size of the drop shadow. |
| dropShadowDistance | Distance for the drop shadow. |
| dropShadowAngle | Angle for the drop shadow. |
| innerShadow | The inner shadow for the element. |
| innerShadowColor | Color for the inner glow shadow. |
| innerShadowSize | Size of the inner glow shadow. |
| innerShadowDistance | Distance of the inner glow shadow. |
| innerShadowAngle | Angle of the inner glow. |
| outerGlow | The outer glow for the element. |
| outerGlowColor | Color of the outer glow. |
| outerGlowSize | Size of the outer glow. |
| innerGlow | The inner glow for the element. |
| innerGlowColor | Color for the inner glow. |
| innerGlowSize | Size for the inner glow. |
| PaddingX | Padding X |
| PaddingY | Padding Y |
| PaddingBetween | Padding Between |
| iconHeight | Icon Height |
| iconWidth | Icon Width |
| maintainAspectRatio | Maintain icon aspect ratio. |
| rippleEffect | Ripple Effect |
| rippleRate | Ripple Rate (ms) |
| autoSize | Sets size to automatic |
| useCustomSVG | Custom SVG |
| customSVG | SVG File |
Element Section
This section is contains properties that are specific to elements of type button.
| Property | Description |
|---|---|
| name | The name of the element. Displayed in the project browser. |
| label | The text label for the element. |
| layout | Element-specific property that configures how it should be displayed. |
| Icon | sets the Icon of the element. |
This chapter was last updated on Fri 8 May 2026 15:20:15 BST