cui/uiconfig/ui/appearance.ui |  426 ++++++++++++++++++++----------------------
 1 file changed, 206 insertions(+), 220 deletions(-)

New commits:
commit 6026d13bfda88e0bcf43e7b15c80cfc54e3aa16c
Author:     Sahil Gautam <sahil.gautam.ext...@allotropia.de>
AuthorDate: Wed May 21 15:44:10 2025 +0530
Commit:     Sahil Gautam <sahil.gautam.ext...@allotropia.de>
CommitDate: Fri May 23 11:50:22 2025 +0200

    tdf#164970 cleanup the ui file for making further work convenient
    
    Change-Id: Ibb2116feb40387c5b13fa2fcab2b137a48be5e72
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185604
    Tested-by: Jenkins
    Reviewed-by: Sahil Gautam <sahil.gautam.ext...@allotropia.de>

diff --git a/cui/uiconfig/ui/appearance.ui b/cui/uiconfig/ui/appearance.ui
index 3a8fb4565ef9..f060e123dcd6 100644
--- a/cui/uiconfig/ui/appearance.ui
+++ b/cui/uiconfig/ui/appearance.ui
@@ -10,18 +10,22 @@
   <object class="GtkBox" id="AppearanceTabPage">
     <property name="visible">True</property>
     <property name="can-focus">False</property>
+    <property name="margin-start">6</property>
+    <property name="margin-end">6</property>
+    <property name="margin-top">6</property>
+    <property name="margin-bottom">6</property>
     <property name="border-width">6</property>
-    <property name="orientation">vertical</property>
-    <property name="spacing">12</property>
+    <property name="spacing">24</property>
     <child>
       <object class="GtkBox">
         <property name="visible">True</property>
         <property name="can-focus">False</property>
+        <property name="orientation">vertical</property>
+        <property name="spacing">3</property>
         <child>
           <object class="GtkFrame" id="libreofficethemes">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
-            <property name="margin-end">12</property>
             <property name="label-xalign">0</property>
             <property name="shadow-type">none</property>
             <child>
@@ -79,16 +83,12 @@
                     <property name="position">0</property>
                   </packing>
                 </child>
-                <child>
-                  <placeholder/>
-                </child>
               </object>
             </child>
             <child type="label">
               <object class="GtkLabel" id="libreofficethemeslb">
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="margin-bottom">6</property>
                 <property name="label" translatable="yes" 
context="appearancetabpage|libreofficethemeslb">%PRODUCTNAME Themes</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
@@ -102,284 +102,270 @@
             <property name="position">0</property>
           </packing>
         </child>
+      </object>
+      <packing>
+        <property name="expand">True</property>
+        <property name="fill">True</property>
+        <property name="position">0</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkFrame" id="items">
+        <property name="visible">True</property>
+        <property name="can-focus">False</property>
+        <property name="label-xalign">0</property>
+        <property name="shadow-type">none</property>
         <child>
           <object class="GtkBox">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
+            <property name="margin-start">13</property>
+            <property name="margin-start">12</property>
+            <property name="margin-top">6</property>
             <property name="orientation">vertical</property>
+            <property name="spacing">3</property>
             <child>
-              <object class="GtkFrame" id="items">
+              <!-- n-columns=2 n-rows=5 -->
+              <object class="GtkGrid">
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="margin-start">12</property>
-                <property name="margin-top">6</property>
-                <property name="label-xalign">0</property>
-                <property name="shadow-type">none</property>
+                <property name="row-spacing">3</property>
+                <property name="column-spacing">6</property>
+                <child>
+                  <object class="GtkLabel" id="itemslb">
+                    <property name="visible">True</property>
+                    <property name="can-focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="label" translatable="yes" 
context="appearancetabpage|items">Items: </property>
+                    <property name="use-underline">True</property>
+                    <property 
name="mnemonic-widget">registrydropdown</property>
+                  </object>
+                  <packing>
+                    <property name="left-attach">0</property>
+                    <property name="top-attach">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkComboBoxText" id="registrydropdown">
+                    <property name="visible">True</property>
+                    <property name="can-focus">False</property>
+                    <property name="halign">start</property>
+                    <property name="hexpand">False</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" 
id="registrydropdown-atkobject">
+                        <property name="AtkObject::accessible-name" 
translatable="yes" 
context="appearancetabpage|registrycolorslist">registrycolorslist</property>
+                        <property name="AtkObject::accessible-description" 
translatable="yes" context="appearance|extended_tip|registrydropdown">Select 
the item to customize color or render with an image.</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left-attach">1</property>
+                    <property name="top-attach">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="colorradiobtn">
+                    <property name="label" translatable="yes" 
context="appearancetabpage|colorradiobtn">Color:</property>
+                    <property name="visible">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="receives-default">False</property>
+                    <property name="halign">start</property>
+                    <property name="draw-indicator">True</property>
+                    <property name="group">imageradiobtn</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="colorradiobtn-atkobject">
+                        <property name="AtkObject::accessible-description" 
translatable="yes" context="appearance|extended_tip|colorradiobtn">Apply color 
to the item.</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left-attach">0</property>
+                    <property name="top-attach">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkMenuButton" id="colorsdropdownbtn">
+                    <property name="visible">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="focus-on-click">False</property>
+                    <property name="receives-default">True</property>
+                    <property name="halign">start</property>
+                    <property name="draw-indicator">True</property>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" 
id="colorsdropdownbtn-atkobject">
+                        <property name="AtkObject::accessible-description" 
translatable="yes" context="appearance|extended_tip|colorsdropdownbtn">Select 
the color of the item.</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left-attach">1</property>
+                    <property name="top-attach">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkCheckButton" id="showindocumentchkbtn">
+                    <property name="label" translatable="yes" 
context="appearancetabpage|showindocumentchkbtn">Show in Document</property>
+                    <property name="visible">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="receives-default">False</property>
+                    <property name="draw-indicator">True</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" 
id="showindocumentchkbtn-atkobject">
+                        <property name="AtkObject::accessible-description" 
translatable="yes" 
context="appearance|extended_tip|showindocumentchkbtn">Immediately display the 
color choice in the document.</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left-attach">1</property>
+                    <property name="top-attach">2</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="imageradiobtn">
+                    <property name="label" translatable="yes" 
context="appearancetabpage|imageradiobtn">Image:</property>
+                    <property name="visible">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="receives-default">False</property>
+                    <property name="active">True</property>
+                    <property name="draw-indicator">True</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="imageradiobtn-atkobject">
+                        <property name="AtkObject::accessible-description" 
translatable="yes" context="appearance|extended_tip|imageradiobtn">Apply an 
image to the item</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="left-attach">0</property>
+                    <property name="top-attach">3</property>
+                  </packing>
+                </child>
                 <child>
                   <object class="GtkBox">
                     <property name="visible">True</property>
                     <property name="can-focus">False</property>
-                    <property name="margin-start">13</property>
-                    <property name="margin-top">6</property>
-                    <property name="orientation">vertical</property>
+                    <property name="halign">start</property>
                     <property name="spacing">3</property>
                     <child>
-                      <!-- n-columns=2 n-rows=5 -->
-                      <object class="GtkGrid">
+                      <object class="GtkComboBoxText" id="bitmapdropdown">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="row-spacing">3</property>
-                        <property name="column-spacing">6</property>
-                        <child>
-                          <object class="GtkLabel" id="itemslb">
-                            <property name="visible">True</property>
-                            <property name="can-focus">False</property>
-                            <property name="halign">start</property>
-                            <property name="label" translatable="yes" 
context="appearancetabpage|items">Items: </property>
-                            <property name="use-underline">True</property>
-                            <property 
name="mnemonic-widget">registrydropdown</property>
-                          </object>
-                          <packing>
-                            <property name="left-attach">0</property>
-                            <property name="top-attach">0</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkComboBoxText" 
id="registrydropdown">
-                            <property name="visible">True</property>
-                            <property name="can-focus">False</property>
-                            <property name="halign">start</property>
-                            <property name="hexpand">False</property>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" 
id="registrydropdown-atkobject">
-                                <property name="AtkObject::accessible-name" 
translatable="yes" 
context="appearancetabpage|registrycolorslist">registrycolorslist</property>
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|registrydropdown">Select the item to customize 
color or render with an image.</property>
-                              </object>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="left-attach">1</property>
-                            <property name="top-attach">0</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkRadioButton" id="colorradiobtn">
-                            <property name="label" translatable="yes" 
context="appearancetabpage|colorradiobtn">Color:</property>
-                            <property name="visible">True</property>
-                            <property name="can-focus">True</property>
-                            <property name="receives-default">False</property>
-                            <property name="halign">start</property>
-                            <property name="active">True</property>
-                            <property name="draw-indicator">True</property>
-                            <property name="group">imageradiobtn</property>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" 
id="colorradiobtn-atkobject">
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|colorradiobtn">Apply color to the 
item.</property>
-                              </object>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="left-attach">0</property>
-                            <property name="top-attach">1</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkMenuButton" id="colorsdropdownbtn">
-                            <property name="visible">True</property>
-                            <property name="can-focus">True</property>
-                            <property name="focus-on-click">False</property>
-                            <property name="receives-default">True</property>
-                            <property name="halign">start</property>
-                            <property name="draw-indicator">True</property>
-                            <child>
-                              <placeholder/>
-                            </child>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" 
id="colorsdropdownbtn-atkobject">
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|colorsdropdownbtn">Select the color of the 
item.</property>
-                              </object>
-                            </child>
+                        <property name="halign">start</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" 
id="bitmapdropdown-atkobject">
+                            <property name="AtkObject::accessible-name" 
translatable="yes" 
context="appearancetabpage|bitmapdropdown">bitmapdropdown</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="appearance|extended_tip|bitmapdropdown">Select the 
image for the item, if supported.</property>
                           </object>
-                          <packing>
-                            <property name="left-attach">1</property>
-                            <property name="top-attach">1</property>
-                          </packing>
                         </child>
+                      </object>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">True</property>
+                        <property name="position">0</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkBox">
+                        <property name="visible">True</property>
+                        <property name="can-focus">False</property>
+                        <property name="spacing">3</property>
                         <child>
-                          <object class="GtkCheckButton" 
id="showindocumentchkbtn">
-                            <property name="label" translatable="yes" 
context="appearancetabpage|showindocumentchkbtn">Show in Document</property>
+                          <object class="GtkRadioButton" 
id="stretchedradiobtn">
+                            <property name="label" translatable="yes" 
context="appearancetabpage|stretchedradiobtn">Stretched</property>
                             <property name="visible">True</property>
                             <property name="can-focus">True</property>
                             <property name="receives-default">False</property>
                             <property name="draw-indicator">True</property>
+                            <property name="group">tiledradiobtn</property>
                             <child internal-child="accessible">
-                              <object class="AtkObject" 
id="showindocumentchkbtn-atkobject">
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|showindocumentchkbtn">Immediately display the 
color choice in the document.</property>
+                              <object class="AtkObject" 
id="stretchedradiobtn-atkobject">
+                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|stretchedradiobtn">Stretches the image to fill 
the area of the item.</property>
                               </object>
                             </child>
                           </object>
                           <packing>
-                            <property name="left-attach">1</property>
-                            <property name="top-attach">2</property>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">0</property>
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkRadioButton" id="imageradiobtn">
-                            <property name="label" translatable="yes" 
context="appearancetabpage|imageradiobtn">Image:</property>
+                          <object class="GtkRadioButton" id="tiledradiobtn">
+                            <property name="label" translatable="yes" 
context="appearancetabpage|tiledradiobtn">Tiled</property>
                             <property name="visible">True</property>
                             <property name="can-focus">True</property>
                             <property name="receives-default">False</property>
                             <property name="active">True</property>
                             <property name="draw-indicator">True</property>
                             <child internal-child="accessible">
-                              <object class="AtkObject" 
id="imageradiobtn-atkobject">
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|imageradiobtn">Apply an image to the 
item</property>
-                              </object>
-                            </child>
-                          </object>
-                          <packing>
-                            <property name="left-attach">0</property>
-                            <property name="top-attach">3</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkBox">
-                            <property name="visible">True</property>
-                            <property name="can-focus">False</property>
-                            <property name="halign">start</property>
-                            <property name="spacing">3</property>
-                            <child>
-                              <object class="GtkComboBoxText" 
id="bitmapdropdown">
-                                <property name="visible">True</property>
-                                <property name="can-focus">False</property>
-                                <property name="halign">start</property>
-                                <child internal-child="accessible">
-                                  <object class="AtkObject" 
id="bitmapdropdown-atkobject">
-                                    <property 
name="AtkObject::accessible-name" translatable="yes" 
context="appearancetabpage|bitmapdropdown">bitmapdropdown</property>
-                                    <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|bitmapdropdown">Select the image for the item, 
if supported.</property>
-                                  </object>
-                                </child>
-                              </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="fill">True</property>
-                                <property name="position">0</property>
-                              </packing>
-                            </child>
-                            <child>
-                              <object class="GtkBox">
-                                <property name="visible">True</property>
-                                <property name="can-focus">False</property>
-                                <property name="spacing">3</property>
-                                <child>
-                                  <object class="GtkRadioButton" 
id="stretchedradiobtn">
-                                    <property name="label" translatable="yes" 
context="appearancetabpage|stretchedradiobtn">Stretched</property>
-                                    <property name="visible">True</property>
-                                    <property name="can-focus">True</property>
-                                    <property 
name="receives-default">False</property>
-                                    <property 
name="draw-indicator">True</property>
-                                    <property 
name="group">tiledradiobtn</property>
-                                    <child internal-child="accessible">
-                                      <object class="AtkObject" 
id="stretchedradiobtn-atkobject">
-                                        <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|stretchedradiobtn">Stretches the image to fill 
the area of the item.</property>
-                                      </object>
-                                    </child>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="position">0</property>
-                                  </packing>
-                                </child>
-                                <child>
-                                  <object class="GtkRadioButton" 
id="tiledradiobtn">
-                                    <property name="label" translatable="yes" 
context="appearancetabpage|tiledradiobtn">Tiled</property>
-                                    <property name="visible">True</property>
-                                    <property name="can-focus">True</property>
-                                    <property 
name="receives-default">False</property>
-                                    <property name="active">True</property>
-                                    <property 
name="draw-indicator">True</property>
-                                    <child internal-child="accessible">
-                                      <object class="AtkObject" 
id="tiledradiobtn-atkobject">
-                                        <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|tiledradiobtn">Tiles the image to fill the 
area of the item.</property>
-                                      </object>
-                                    </child>
-                                  </object>
-                                  <packing>
-                                    <property name="expand">False</property>
-                                    <property name="fill">True</property>
-                                    <property name="position">1</property>
-                                  </packing>
-                                </child>
+                              <object class="AtkObject" 
id="tiledradiobtn-atkobject">
+                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="appearance|extended_tip|tiledradiobtn">Tiles the image to fill the 
area of the item.</property>
                               </object>
-                              <packing>
-                                <property name="expand">False</property>
-                                <property name="fill">True</property>
-                                <property name="position">1</property>
-                              </packing>
                             </child>
                           </object>
                           <packing>
-                            <property name="left-attach">1</property>
-                            <property name="top-attach">3</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkButton" id="resetallbtn">
-                            <property name="label" translatable="yes" 
context="appearancetabpage|resetallbtn">Reset All</property>
-                            <property name="visible">True</property>
-                            <property name="can-focus">True</property>
-                            <property name="receives-default">True</property>
-                          </object>
-                          <packing>
-                            <property name="left-attach">0</property>
-                            <property name="top-attach">4</property>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">1</property>
                           </packing>
                         </child>
-                        <child>
-                          <placeholder/>
-                        </child>
-                        <child>
-                          <placeholder/>
-                        </child>
                       </object>
                       <packing>
                         <property name="expand">False</property>
                         <property name="fill">True</property>
-                        <property name="position">0</property>
+                        <property name="position">1</property>
                       </packing>
                     </child>
                   </object>
+                  <packing>
+                    <property name="left-attach">1</property>
+                    <property name="top-attach">3</property>
+                  </packing>
                 </child>
-                <child type="label">
-                  <object class="GtkLabel" id="customizationslb">
+                <child>
+                  <object class="GtkButton" id="resetallbtn">
+                    <property name="label" translatable="yes" 
context="appearancetabpage|resetallbtn">Reset All</property>
                     <property name="visible">True</property>
-                    <property name="can-focus">False</property>
-                    <property name="label" translatable="yes" 
context="appearancetabpage|customizationslb">Customizations</property>
-                    <attributes>
-                      <attribute name="weight" value="bold"/>
-                    </attributes>
+                    <property name="can-focus">True</property>
+                    <property name="receives-default">True</property>
                   </object>
+                  <packing>
+                    <property name="left-attach">0</property>
+                    <property name="top-attach">4</property>
+                  </packing>
+                </child>
+                <child>
+                  <placeholder/>
+                </child>
+                <child>
+                  <placeholder/>
                 </child>
               </object>
               <packing>
-                <property name="expand">True</property>
+                <property name="expand">False</property>
                 <property name="fill">True</property>
-                <property name="position">1</property>
+                <property name="position">0</property>
               </packing>
             </child>
           </object>
-          <packing>
-            <property name="expand">True</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
+        </child>
+        <child type="label">
+          <object class="GtkLabel" id="customizationslb">
+            <property name="visible">True</property>
+            <property name="can-focus">False</property>
+            <property name="label" translatable="yes" 
context="appearancetabpage|customizationslb">Customizations</property>
+            <attributes>
+              <attribute name="weight" value="bold"/>
+            </attributes>
+          </object>
         </child>
       </object>
       <packing>
         <property name="expand">True</property>
         <property name="fill">True</property>
-        <property name="position">0</property>
+        <property name="position">1</property>
       </packing>
     </child>
   </object>

Reply via email to