diff options
author | Sahil <me.sahilgautam@gmail.com> | 2024-01-04 16:47:17 +0530 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-01-10 18:01:24 +0100 |
commit | 986b5bb3c183b038ecc1ce4e16cff1dca837932a (patch) | |
tree | dfe02d546bbcbb056bc6042f47dd9db348d76b82 /sc/uiconfig/scalc | |
parent | 772da0f1aa6891a0b31d45d99a5978c65ed24e34 (diff) |
tdf#42030 Add UI label for page preview zoom slider
* Scale before the page preview zoom slider
* zoom % after the page preview zoom slider
Change-Id: I893852bf48e31b36a028f9ee282d47a627bb0086
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159362
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc/uiconfig/scalc')
-rw-r--r-- | sc/uiconfig/scalc/ui/zoombox.ui | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/sc/uiconfig/scalc/ui/zoombox.ui b/sc/uiconfig/scalc/ui/zoombox.ui index 764593b6ae73..ee7d893592ce 100644 --- a/sc/uiconfig/scalc/ui/zoombox.ui +++ b/sc/uiconfig/scalc/ui/zoombox.ui @@ -1,16 +1,29 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.1 --> +<!-- Generated with glade 3.40.0 --> <interface domain="sc"> <requires lib="gtk+" version="3.20"/> <object class="GtkBox" id="ZoomBox"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="hexpand">True</property> <property name="spacing">6</property> <child> + <object class="GtkLabel" id="zoom_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="zoombox|zoom_label">Scale</property> + <property name="mnemonic_widget">zoom</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> <object class="GtkDrawingArea" id="zoom"> <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="can-focus">True</property> <property name="events">GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property> <property name="hexpand">True</property> <property name="vexpand">True</property> @@ -18,7 +31,20 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">0</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="current_zoom"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="no">percentage</property> + <property name="mnemonic_widget">zoom</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> </packing> </child> </object> |