Use a Tab widget to hold a collection of widgets on a form. You can use multiple tabs to display groups of related widgets. A user views one tab at a time.
Look properties define the appearance of the widget.
Tab properties specify properties that are available on any platform supported by Quantum Visualizer, and assign platform-specific properties.
Specifies an image to display next to the tab name. To select an image, click Edit to display the Image window. From the list of images, choose an image, and then click OK.
Specifies the name of the tab.
Specifies whether to clip child widgets displayed in the tab pane when they go out of boundaries.
Specifies whether the arrangement of widgets in the tab flows horizontally, vertically, or in both directions.
Snap to Grid
Specifies whether the widget aligns to the nearest intersection of lines in the grid, or other widgets.
Snap Grid Size
Specifies the grid size. This option is available only when Snap to Grid is enabled.
Specifies the default unit used for interpretation of numbers with no qualifiers when passed to layout properties.
Following are the options:
- dp: Specifies the values in terms of device independent pixels.
- px: Specifies the values in terms of device hardware pixels.
- %: Specifies the values in percentage relative to the parent dimensions.
Actions define what happens when an event occurs. On a Tab widget, you can run an action when the following events occur:
- onInit: The action is triggered when the user navigates to the tab.
- onTouchStart: The action is triggered when the user touches the touch surface. This event occurs asynchronously.
- onTouchMove: The action is triggered when the touch moves on the touch surface continuously until movement ends. This event occurs asynchronously.
- onTouchEnd: The action is triggered when the user touch is released from the touch surface. This event occurs asynchronously.
For more information, see Add Actions.
Placement Inside a Widget
A Tab widget can only be placed inside a TabPane widget.
|| © 2020 Temenos. All rights reserved.