

TIMECODE CALCULATOR WIDGET SERIES
To make a series of radio buttons, the easiest way to do this is to create an enum which determines which check box is checked.
TIMECODE CALCULATOR WIDGET HOW TO
Radio Buttons are check boxes in slate, because check boxes require a delegate for how to determine whether they are checked. SWrapBox is a box that lays out widgets horizontally until these widgets exceed a width, at which point they will be placed on the next line, and so on. Its child slots are specified using a pair of integers which specify the index of the child. SUniformGridPanel is a panel that distributes its child widgets evenly both vertically and horizontally. Also shown is how the alignment can be used with these slots. This option is meaningless with Fill Size specified in the same orientation.īelow is an example of both autosized horizontal boxes and fill sized horizontal boxes nested within a scrollbox. Padding - This will specify the padding of the slot within the panel.Īlignment - This will determine how the child widget will be aligned within the slot.

Max Size - This will specify the maximum size that the slot can be in slate units. Alignment of the slot in the same orientation does not matter here. Alignment within slots does not matter here.įill Size - Specifying a fill coefficient will cause it to fill up the space based on the fill coefficients of other slots. Width or Height Settings (The following options are mutually exclusive):Īuto Size (Default) - This will specify that the slot will fill up as much space as it needs, but no more. SScrollBox functions similar to SVerticalBox, with the exception that it allows vertical scrolling of the child slots. SHorizontalBoxes have these slots arranged with the first widget on the left and the last to the right, while SVerticalBoxes have these slots arranged from top to bottom. These box panels are declared as widgets, but then they have slots inserted into them.

SHorizontalBox and SVerticalBox are the most common widgets for arranging your layout. The possible alignments are listed below: This will happen by default with box slots, when you specify "Fill" for the widget, or a box slot specifies a Fill Size. If a widget's parent is the same size (excluding padding) as the widget, then alignment is meaningless. The alignment of a widget determines the location of the widget within its parent. SelfHitTestInvisible - Same as HitTestInvisible, but does not apply to child widgets. HitTestInvisible - Visible to the user, but only as art. Hidden - The widget will not be visible, but will take up space in the layout.

Visible (Default) - The widget will appear normally.Ĭollapsed - The widget will not be visible and will take up no space in the layout. The visibility of a widget determines how the widget will appear, as well as its interactivity. VAlign - The vertical alignment of content within the widget. HAlign - The horizontal alignment of content within the widget. These can be specified as a single value for all four parts, or as a horizontal and vertical value, or as four separate values. Padding - The padding of a widget amount of spacing in slate units around the left, top, right, and bottom parts of the widget within its parent. How this is applicable varies by widget.ĬolorAndOpacity - The color and opacity of the widget or of the specified system. Style - This will specify the style of images or text font used by the widget. ReadOnly - This will prevent this widget from being editable if true. Text - This will specify the text that this widget will have, if applicable.Ĭontent - This will specify what widget should be placed in the content section of the widget, if applicable. The following arguments are not on every single widget, but they are on most widgets. Visibility - See the Visibility section below. If not specified, or if the ToolTip attribute was used, it will not appear.Ĭursor - This will specify what cursor will appear while the mouse is hovering over this widget. ToolTipText - This will specify what kind of text will show up as a simple tooltip for this widget's tool tip. ToolTip - This will specify what kind of custom SToolTip widget will be used for this widget's tool tip. If it is disabled, it will be greyed out. IsEnabled - This will specify whether or not the widget is able to be interacted with. The following arguments are common to every single widget that is created.
