The toggle switch can now be scaled to make it bigger.
Description
On touch screens bigger buttons are useful, so I introduced an option to scale the toggle button.
This can be activated in the switch gui by the config option toggle_switch_scaling.
Motivation and Context
Bigger buttons on touch screens.
This options feature can be activated by config option in the switch gui.
How Has This Been Tested?
tested with dummy switches and the two types of toggle switches in the switch gui.
Screenshots (only if appropriate, delete if not):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[ ] I have documented my changes in the changelog (documentation/changelog.md)
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added/updated for the module the config example in the docstring of the class accordingly.
[x] I have checked that the change does not contain obvious errors (syntax, indentation, mutable default values).
[ ] I have tested my changes using 'Load all modules' on the default dummy configuration with my changes included.
[ ] All changed Jupyter notebooks have been stripped of their output cells.
The toggle switch can now be scaled to make it bigger.
Description
On touch screens bigger buttons are useful, so I introduced an option to scale the toggle button. This can be activated in the switch gui by the config option
toggle_switch_scaling
.Motivation and Context
Bigger buttons on touch screens. This options feature can be activated by config option in the switch gui.
How Has This Been Tested?
tested with dummy switches and the two types of toggle switches in the switch gui.
Screenshots (only if appropriate, delete if not):
Types of changes
Checklist:
documentation/changelog.md
)