Makes the whole lab larger or smaller: A-, the current percentage, A+. More...
| Import Statement: | import Clayground.Lab |
The third member of the corner family, beside LangSwitch and ThemeSwitch, and the one a room full of people asks for first: shown on a large screen from a few metres away every control in the chrome was too small to read, and there was nothing to turn.
The middle chip is not decoration - it reads back the factor and resets to 100% when clicked, which is the only way out of an accidental 200% that does not involve finding the keyboard.
The same three steps are on Ctrl+Plus, Ctrl+Minus and Ctrl+0 through LabKeys, so a lab that instantiates a keymap has them already.
Example usage:
import Clayground.Lab Row { anchors.right: parent.right; anchors.top: parent.top anchors.margins: LabTheme.spaceXl; spacing: LabTheme.spaceM LangSwitch { } ScaleSwitch { } ThemeSwitch { } }
See also LabTheme, ThemeSwitch, and LangSwitch.
showValue : bool |
Show the percentage chip between the buttons.