diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-19 11:31:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-19 17:53:36 +0200 |
commit | db2a7489fa7ac758c1ab35f49fff284f460c5d4c (patch) | |
tree | 26782f8ff280cecc3c3ed4229f71fa2f4da5f615 /cui/uiconfig | |
parent | 7d924018f3ea58050081936bde067391714a8bb5 (diff) |
Resolves: tdf#161662 use some hackery to bring bullet combobox height down
There are some Arabic, etc numbering options in there that cause gtk to
allocate a large odd-looking height for the combobox.
What we can try is to remove top/bottom padding for this widget, but
then sync it with a sizegroup to another combobox and then it gets a
more natural looking height.
Change-Id: Idecbb3ee7b61fe55805d26cabdbaf1885574b3cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170751
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/numberingoptionspage.ui | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cui/uiconfig/ui/numberingoptionspage.ui b/cui/uiconfig/ui/numberingoptionspage.ui index 84da7e34bdcd..c63a0a45efda 100644 --- a/cui/uiconfig/ui/numberingoptionspage.ui +++ b/cui/uiconfig/ui/numberingoptionspage.ui @@ -268,6 +268,10 @@ <property name="AtkObject::accessible-description" translatable="yes" context="numberingoptionspage|extended_tip|numfmtlb">Select a numbering scheme for the selected levels.</property> </object> </child> + <style> + <!-- tdf#161662 try and shrink this height to min and then use the size-group with charstyle to bring it back up to that height --> + <class name="novertpad"/> + </style> </object> <packing> <property name="left-attach">1</property> @@ -859,4 +863,11 @@ </packing> </child> </object> + <object class="GtkSizeGroup" id="sizegroup1"> + <property name="mode">vertical</property> + <widgets> + <widget name="charstyle"/> + <widget name="numfmtlb"/> + </widgets> + </object> </interface> |