Skip to main content

Module consts

Module consts 

Source
Expand description

Element arguments that must be written literally: layout numbers, fixed text, flags and styles.

ConstantsΒ§

ALIGNMENTS πŸ”’
BACKDROPS πŸ”’
BUTTON_STYLES πŸ”’
ICONS πŸ”’
Every icon but Icon::None, which is what leaving icon: out means.
JUSTIFICATIONS πŸ”’
MAX_FIXED_NUMBER πŸ”’
Whole numbers written into settings, such as a slider’s range, stay this close to zero, so every platform’s controls hold them exactly.
MAX_POINTS πŸ”’
Layout sizes are points on screen; anything larger is a mistake.
SURFACES πŸ”’
TEXT_ALIGNMENTS πŸ”’
TEXT_COLORS πŸ”’
TEXT_STYLES πŸ”’

FunctionsΒ§

names πŸ”’
points πŸ”’