Expand description
Helpers for zooming the whole GUI of an app (changing Context::pixels_per_point
.
Modulesยง
- The suggested keyboard shortcuts for global gui zooming.
Constantsยง
- MAX_
ZOOM_ ๐FACTOR - MIN_
ZOOM_ ๐FACTOR
Functionsยง
- Make everything larger by increasing
Context::zoom_factor
. - Show buttons for zooming the ui.
- Make everything smaller by decreasing
Context::zoom_factor
. - zoom_
with_ ๐keyboard Let the user scale the GUI (changeContext::zoom_factor
) by pressing Cmd+Plus, Cmd+Minus or Cmd+0, just like in a browser.