cui/uiconfig/ui/gradientpage.ui |   40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

New commits:
commit 2623db9483472accca354910e054849153d70fd1
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Jan 28 15:44:00 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Jan 29 12:33:33 2026 +0100

    a11y: improve accessibility in gradient page UI by updating layout
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: Ib6f9212a11802f7703b0786e588be4b607e889e9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198310
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/cui/uiconfig/ui/gradientpage.ui b/cui/uiconfig/ui/gradientpage.ui
index 9c1512384641..ef0174a197a4 100644
--- a/cui/uiconfig/ui/gradientpage.ui
+++ b/cui/uiconfig/ui/gradientpage.ui
@@ -310,25 +310,11 @@
             </child>
             <child>
               <!-- n-columns=1 n-rows=2 -->
-              <object class="GtkGrid" id="grid5">
+              <object class="GtkFrame" id="center_frame">
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="valign">start</property>
-                <property name="row-spacing">3</property>
-                <property name="column-spacing">6</property>
-                <child>
-                  <object class="GtkLabel" id="centerft">
-                    <property name="visible">True</property>
-                    <property name="can-focus">False</property>
-                    <property name="label" translatable="yes" 
context="gradientpage|centerft">Center ( X / Y ):</property>
-                    <property name="use-underline">True</property>
-                    <property name="xalign">0</property>
-                  </object>
-                  <packing>
-                    <property name="left-attach">0</property>
-                    <property name="top-attach">0</property>
-                  </packing>
-                </child>
+                <property name="label-xalign">0</property>
+                <property name="shadow-type">none</property>
                 <child>
                   <object class="GtkBox" id="box9">
                     <property name="visible">True</property>
@@ -374,10 +360,17 @@
                       </packing>
                     </child>
                   </object>
-                  <packing>
-                    <property name="left-attach">0</property>
-                    <property name="top-attach">1</property>
-                  </packing>
+                </child>
+                <child type="label">
+                  <object class="GtkLabel" id="centerft">
+                    <property name="visible">True</property>
+                    <property name="can-focus">False</property>
+                    <property name="label" translatable="yes" 
context="gradientpage|centerft">Center ( X / Y ):</property>
+                    <property name="use-underline">True</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
                 </child>
               </object>
               <packing>
@@ -743,6 +736,11 @@
             <attributes>
               <attribute name="weight" value="bold"/>
             </attributes>
+            <child internal-child="accessible">
+              <object class="AtkObject" id="label2-atkobject">
+                <property name="AtkObject::accessible-role">static</property>
+              </object>
+            </child>
           </object>
         </child>
       </object>

Reply via email to