Table Widget

From C4 Engine Wiki
Revision as of 12:50, 15 July 2023 by Eric Lengyel (talk | contribs) (Created page with "The '''Table Widget''' displays a table with a fixed number of columns in a box with a scroll bar. The widget color controls the color of the table's border. == Settings == The following settings are available specifically for Table Widgets. {| {{Table}} {{Tablehead|Setting|Description}} |- {{HeadingSetting|'''Table Settings'''}} |- {{Setting|'''Number of columns'''|Specifies the number of columns in the table.}} |- {{Setting|'''Cell size X'''|Specifies the hori...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Table Widget displays a table with a fixed number of columns in a box with a scroll bar.

The widget color controls the color of the table's border.

Settings

The following settings are available specifically for Table Widgets.

Setting

Description

Table Settings

Number of columns

Specifies the number of columns in the table.

Cell size X

Specifies the horizontal size of each cell in the table. The width of the widget should be a multiple of this value plus 16 pixels for the scroll bar.

Cell size Y

Specifies the vertical size of each cell in the table. The height of the widget should be a multiple of this value to avoid extra space at the bottom of the table.

Item offset X

Specifies a horizontal offset for items displayed in the table.

Item offset Y

Specifies a vertical offset for items displayed in the table.

Highlight inset X

Specifies the left and right inset for the highlight box rendered behind selected items in the table.

Highlight inset Y

Specifies the top and bottom inset for the highlight box rendered behind selected items in the table.

Allow multiple selection

Enables multiple items to be selected in the table at the same time.

Render focus plain (no glow)

Causes the keyboard focus glow to not be rendered.

Leave table items enabled

Causes items in the table to be left in an enabled state to allow user interaction directly with each item.

Background color

Specifies the color of the table background.

Highlight color

If checked, specifies the color of the highlight used to indicate selected items, overriding the default highlight color specified by the $hiliteColor system variable.

Focus glow color

If checked, specifies the color of the glow drawn around the table when it has the keyboard focus, overriding the default glow color given by the $hiliteColor system variable multiplied by 5/8.

See Also