diff options
author | Rafael Lima <rafael.palma.lima@gmail.com> | 2022-11-23 22:35:59 +0100 |
---|---|---|
committer | Rafael Lima <rafael.palma.lima@gmail.com> | 2022-12-01 12:33:45 +0100 |
commit | 0d9231f2133def9254e0220b8033a46e5fc17658 (patch) | |
tree | f03197ee729ea02db19f3408ae0bf902a475e4d2 /sfx2 | |
parent | d45d65559f11ecb34b14e3b5c838391c62c8c694 (diff) |
tdf#152078 Add a Zoom slider to the Basic IDE
This patch adds a ZoomSlider to thee Basic IDE. It has the following characteristics:
- The Zoom varies from 50% to 400% considering that 100% is the font size defined in Tools - Options - Fonts dialog.
- All open editor windows use the same Zoom factor
- The zoom level is saved and restored across sessions
Change-Id: I63df02d0dc828fca4360d61b8aa2c7af6610d4db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143159
Tested-by: Jenkins
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/sdi/sfx.sdi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index d98e8e0b93bc..c56b80a65fc8 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -1922,6 +1922,25 @@ SfxVoidItem TipOfTheDay SID_TIPOFTHEDAY ] +SfxVoidItem BasicIDEZoom SID_BASICIDE_CURRENT_ZOOM +() +[ + AutoUpdate = FALSE, + FastCall = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Asynchron; + + AccelConfig = FALSE, + MenuConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = SfxGroupId::View; +] + + SfxVoidItem HideCurPage SID_BASICIDE_HIDECURPAGE () [ |