solenv/sanitizers/ui/svx.suppr | 1 svx/uiconfig/ui/textcharacterspacingcontrol.ui | 36 +++++++++++++++---------- 2 files changed, 23 insertions(+), 14 deletions(-)
New commits: commit d288f4c6f76cbf490c8e8137f55b4a874433f137 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Mar 28 14:42:53 2026 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Mar 30 10:43:07 2026 +0200 a11y: replace GtkFrame with plain label for kerning spinfield There is just one child in the original GtkFrame, change this to be a plain GtkGrid containing a GtkLabel with mnemonic-widget and use-underline linking it directly to the kerning spinfield. Change-Id: Id2e3a484e53da6f34dfb01a56cfcc4f5f0a78097 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202911 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/solenv/sanitizers/ui/svx.suppr b/solenv/sanitizers/ui/svx.suppr index 986fe4474f2b..81d12a3c62a8 100644 --- a/solenv/sanitizers/ui/svx.suppr +++ b/solenv/sanitizers/ui/svx.suppr @@ -79,6 +79,5 @@ svx/uiconfig/ui/sidebararea.ui://GtkLabel[@id='transparencylabel'] orphan-label svx/uiconfig/ui/sidebarshadow.ui://GtkLabel[@id='transparency_label'] orphan-label svx/uiconfig/ui/sidebarshadow.ui://GtkSpinButton[@id='FIELD_TRANSPARENCY'] no-labelled-by svx/uiconfig/ui/sidebarshadow.ui://GtkScale[@id='transparency_slider'] no-labelled-by -svx/uiconfig/ui/textcharacterspacingcontrol.ui://GtkSpinButton[@id='kerning'] no-labelled-by svx/uiconfig/ui/paralinespacingcontrol.ui://GtkSpinButton[@id='percent_box'] missing-label-for svx/uiconfig/ui/paralinespacingcontrol.ui://GtkSpinButton[@id='metric_box'] missing-label-for \ No newline at end of file diff --git a/svx/uiconfig/ui/textcharacterspacingcontrol.ui b/svx/uiconfig/ui/textcharacterspacingcontrol.ui index 20a738d8b942..c18dba3a4226 100644 --- a/svx/uiconfig/ui/textcharacterspacingcontrol.ui +++ b/svx/uiconfig/ui/textcharacterspacingcontrol.ui @@ -159,14 +159,30 @@ </packing> </child> <child> - <object class="GtkFrame" id="frame1"> + <!-- n-columns=1 n-rows=2 --> + <object class="GtkGrid" id="customgrid"> <property name="visible">True</property> <property name="can-focus">False</property> <property name="margin-top">6</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <property name="label-xalign">0</property> - <property name="shadow-type">none</property> + <child> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="textcharacterspacingcontrol|label2">Custom Value</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">kerning</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> <child> <object class="GtkSpinButton" id="kerning"> <property name="visible">True</property> @@ -180,16 +196,10 @@ <property name="adjustment">adjustment1</property> <property name="digits">1</property> </object> - </child> - <child type="label"> - <object class="GtkLabel" id="label2"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes" context="textcharacterspacingcontrol|label2">Custom Value</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + </packing> </child> </object> <packing>
