diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2025-06-20 10:08:05 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2025-06-21 07:10:10 +0200 |
commit | 4014ee43a9fe7c9ff1c447e3a3669b4864703e91 (patch) | |
tree | 40b17fdb2234081a8b56b6bfda02dd1a5bd2ae70 | |
parent | c80076f5291b953a672955f873f9bb26c3b1fb62 (diff) |
Resolves tdf#167098 - Apply VT style to Drawing Style dialog in Calc
Change-Id: I133ec1df8082949a5bd81fac6b1bda3c5831c829
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186742
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
-rw-r--r-- | sc/uiconfig/scalc/ui/drawtemplatedialog.ui | 579 |
1 files changed, 513 insertions, 66 deletions
diff --git a/sc/uiconfig/scalc/ui/drawtemplatedialog.ui b/sc/uiconfig/scalc/ui/drawtemplatedialog.ui index 7a2881c3bd35..6a199ecc960c 100644 --- a/sc/uiconfig/scalc/ui/drawtemplatedialog.ui +++ b/sc/uiconfig/scalc/ui/drawtemplatedialog.ui @@ -108,10 +108,10 @@ <property name="vexpand">True</property> <property name="tab-pos">left</property> <property name="scrollable">True</property> - <property name="enable-popup">True</property> + <property name="tab-pos">left</property> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -120,18 +120,45 @@ </object> </child> <child type="tab"> - <object class="GtkLabel" id="organizer"> - <property name="visible">True</property> + <object class="GtkBox" id="organizer"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|organizer">General</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imOrganizer"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_browseview.png</property> + <accessibility> + <relation type="labelled-by" target="lbOrganizer"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbOrganizer"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|organizer">General</property> + <property name="mnemonic-widget">organizer</property> + <accessibility> + <relation type="label-for" target="imOrganizer"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> - <packing> - <property name="tab-fill">False</property> - </packing> </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -143,10 +170,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="line"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="label" translatable="yes" context="drawtemplatedialog|line">Line</property> + <object class="GtkBox" id="line"> + <property name="can-focus">False</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imLine"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_formatline.png</property> + <accessibility> + <relation type="labelled-by" target="lbLine"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbLine"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|line">Line</property> + <property name="mnemonic-widget">line</property> + <accessibility> + <relation type="label-for" target="imLine"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">1</property> @@ -155,7 +212,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -167,10 +224,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="area"> - <property name="visible">True</property> + <object class="GtkBox" id="area"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|area">Area</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imArea"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_backgroundcolor.png</property> + <accessibility> + <relation type="labelled-by" target="lbArea"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbArea"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|area">Area</property> + <property name="mnemonic-widget">area</property> + <accessibility> + <relation type="label-for" target="imArea"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">2</property> @@ -179,7 +266,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -191,10 +278,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="shadowing"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="label" translatable="yes" context="drawtemplatedialog|shadowing">Shadowing</property> + <object class="GtkBox" id="shadowing"> + <property name="can-focus">False</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imShadowing"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_fillshadow.png</property> + <accessibility> + <relation type="labelled-by" target="lbShadowing"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbShadowing"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|shadowing">Shadowing</property> + <property name="mnemonic-widget">shadowing</property> + <accessibility> + <relation type="label-for" target="imShadowing"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">3</property> @@ -203,7 +320,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -215,10 +332,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="transparency"> - <property name="visible">True</property> + <object class="GtkBox" id="transparency"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|transparency">Transparency</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imTransparency"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_graftransparence.png</property> + <accessibility> + <relation type="labelled-by" target="lbTransparency"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbTransparency"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|transparency">Transparency</property> + <property name="mnemonic-widget">transparency</property> + <accessibility> + <relation type="label-for" target="imTransparency"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">4</property> @@ -227,7 +374,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -239,10 +386,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="font"> - <property name="visible">True</property> + <object class="GtkBox" id="font"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|font">Font</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imFont"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_fontdialog.png</property> + <accessibility> + <relation type="labelled-by" target="lbFont"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbFont"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|font">Font</property> + <property name="mnemonic-widget">font</property> + <accessibility> + <relation type="label-for" target="imFont"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">5</property> @@ -251,7 +428,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -263,10 +440,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="fonteffect"> - <property name="visible">True</property> + <object class="GtkBox" id="fonteffect"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|fonteffect">Font Effects</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imFonteffect"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_color.png</property> + <accessibility> + <relation type="labelled-by" target="lbFonteffect"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbFonteffect"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|fonteffect">Font Effects</property> + <property name="mnemonic-widget">fonteffect</property> + <accessibility> + <relation type="label-for" target="imFonteffect"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">6</property> @@ -275,7 +482,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -287,10 +494,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="indents"> - <property name="visible">True</property> + <object class="GtkBox" id="indents"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|indents">Indents & Spacing</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imIndents"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_incrementindent.png</property> + <accessibility> + <relation type="labelled-by" target="lbIndents"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbIndents"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|indents">Indents & Spacing</property> + <property name="mnemonic-widget">indents</property> + <accessibility> + <relation type="label-for" target="imIndents"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">7</property> @@ -299,7 +536,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -311,10 +548,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="text"> - <property name="visible">True</property> + <object class="GtkBox" id="text"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|text">Text</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imText"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_text_marquee.png</property> + <accessibility> + <relation type="labelled-by" target="lbText"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbText"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|text">Text</property> + <property name="mnemonic-widget">text</property> + <accessibility> + <relation type="label-for" target="imText"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">8</property> @@ -323,7 +590,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -335,10 +602,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="animation"> - <property name="visible">True</property> + <object class="GtkBox" id="animation"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|animation">Text Animation</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imAnimation"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_animationeffects.png</property> + <accessibility> + <relation type="labelled-by" target="lbAnimation"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbAnimation"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|animation">Text Animation</property> + <property name="mnemonic-widget">animation</property> + <accessibility> + <relation type="label-for" target="imAnimation"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">9</property> @@ -347,7 +644,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -359,10 +656,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="dimensioning"> - <property name="visible">True</property> + <object class="GtkBox" id="dimensioning"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|dimensioning">Dimensioning</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imDimensioning"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_measureline.png</property> + <accessibility> + <relation type="labelled-by" target="lbDimensioning"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbDimensioning"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|dimensioning">Dimensioning</property> + <property name="mnemonic-widget">dimensioning</property> + <accessibility> + <relation type="label-for" target="imDimensioning"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">10</property> @@ -371,7 +698,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -383,10 +710,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="alignment"> - <property name="visible">True</property> + <object class="GtkBox" id="alignment"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|alignment">Alignment</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imAlignment"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_alignblock.png</property> + <accessibility> + <relation type="labelled-by" target="lbAlignment"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbAlignment"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|alignment">Alignment</property> + <property name="mnemonic-widget">alignment</property> + <accessibility> + <relation type="label-for" target="imAlignment"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">11</property> @@ -395,7 +752,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -407,10 +764,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="asiantypo"> - <property name="visible">True</property> + <object class="GtkBox" id="asiantypo"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|asiantypo">Asian Typography</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imAsiantypo"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_defaultcharstyle.png</property> + <accessibility> + <relation type="labelled-by" target="lbAsiantypo"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbAsiantypo"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|asiantypo">Asian Typography</property> + <property name="mnemonic-widget">asiantypo</property> + <accessibility> + <relation type="label-for" target="imAsiantypo"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">12</property> @@ -419,7 +806,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -431,10 +818,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="tabs"> - <property name="visible">True</property> + <object class="GtkBox" id="tabs"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|tabs">Tabs</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imTabs"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_hangingindent.png</property> + <accessibility> + <relation type="labelled-by" target="lbTabs"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbTabs"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|tabs">Tabs</property> + <property name="mnemonic-widget">tabs</property> + <accessibility> + <relation type="label-for" target="imTabs"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">13</property> @@ -443,7 +860,7 @@ </child> <child> <!-- n-columns=1 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> <child> @@ -455,10 +872,40 @@ </packing> </child> <child type="tab"> - <object class="GtkLabel" id="background"> - <property name="visible">True</property> + <object class="GtkBox" id="background"> <property name="can-focus">False</property> - <property name="label" translatable="yes" context="drawtemplatedialog|background">Highlighting</property> + <property name="spacing">3</property> + <child> + <object class="GtkImage" id="imBackground"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="icon-name">cmd/lc_backcolor.png</property> + <accessibility> + <relation type="labelled-by" target="lbBackground"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbBackground"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="drawtemplatedialog|background">Highlighting</property> + <property name="mnemonic-widget">background</property> + <accessibility> + <relation type="label-for" target="imBackground"/> + </accessibility> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">14</property> |