The csts.py module#
Summary#
Bottom margin of a dialog box or page. |
|
Default height of a push button control. |
|
Default width of a push button control. |
|
Default height of a check button control. |
|
Default height of a combo box control. |
|
Default height of the |
|
Default width of a |
|
Default vertical offset between 2 lines. |
|
Default height of an edit control. |
|
Default height of a group radio box control. |
|
Default height of the title area of a dialog box. |
|
Left margin of a dialog box or page. |
|
Non client area bottom margin of a dialog box. |
|
Non client area left margin of a dialog box. |
|
Non client area right margin of a dialog box. |
|
Non client area top margin of a dialog box. |
|
Default vertical offset for a group radio box control. |
|
Default height of a radio button control. |
|
Right margin of a dialog box or page. |
|
Default height of a static control. |
|
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.