The csts.py module#

Summary#

BOTTOM_MARGIN

Bottom margin of a dialog box or page.

BUTTON_HEIGHT

Default height of a push button control.

BUTTON_WIDTH

Default width of a push button control.

CHECK_BUTTON_HEIGHT

Default height of a check button control.

COMBO_BOX_HEIGHT

Default height of a combo box control.

DOTS_HEIGHT

Default height of the ... push button control.

DOTS_WIDTH

Default width of a ... push button control.

DY

Default vertical offset between 2 lines.

EDIT_HEIGHT

Default height of an edit control.

GROUP_RADIO_BOX_HEIGHT

Default height of a group radio box control.

H_TITLE

Default height of the title area of a dialog box.

LEFT_MARGIN

Left margin of a dialog box or page.

NC_BOTTOM

Non client area bottom margin of a dialog box.

NC_LEFT

Non client area left margin of a dialog box.

NC_RIGHT

Non client area right margin of a dialog box.

NC_TOP

Non client area top margin of a dialog box.

RADIO_BOX_DY

Default vertical offset for a group radio box control.

RADIO_BUTTON_HEIGHT

Default height of a radio button control.

RIGHT_MARGIN

Right margin of a dialog box or page.

STATIC_HEIGHT

Default height of a static control.

TOP_MARGIN

Top margin of a dialog box or page.

Description#

Provides default metrics for designing dialog boxes and controls.

These metrics may depend on your version of Windows or selected theme.

Module detail#

csts.BOTTOM_MARGIN = 7#

Bottom margin of a dialog box or page.

csts.BUTTON_HEIGHT = 23#

Default height of a push button control.

csts.BUTTON_WIDTH = 75#

Default width of a push button control.

csts.CHECK_BUTTON_HEIGHT = 20#

Default height of a check button control.

csts.COMBO_BOX_HEIGHT = 130#

Default height of a combo box control.

csts.DOTS_HEIGHT = 22#

Default height of the ... push button control.

csts.DOTS_WIDTH = 30#

Default width of a ... push button control.

csts.DY = 30#

Default vertical offset between 2 lines.

csts.EDIT_HEIGHT = 20#

Default height of an edit control.

csts.GROUP_RADIO_BOX_HEIGHT = 43#

Default height of a group radio box control.

csts.H_TITLE = 28#

Default height of the title area of a dialog box.

csts.LEFT_MARGIN = 6#

Left margin of a dialog box or page.

csts.NC_BOTTOM = 8#

Non client area bottom margin of a dialog box.

csts.NC_LEFT = 8#

Non client area left margin of a dialog box.

csts.NC_RIGHT = 8#

Non client area right margin of a dialog box.

csts.NC_TOP = 31#

Non client area top margin of a dialog box.

csts.RADIO_BOX_DY = 53#

Default vertical offset for a group radio box control.

csts.RADIO_BUTTON_HEIGHT = 20#

Default height of a radio button control.

csts.RIGHT_MARGIN = 6#

Right margin of a dialog box or page.

csts.STATIC_HEIGHT = 16#

Default height of a static control.

csts.TOP_MARGIN = 7#

Top margin of a dialog box or page.