diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-09-07 16:54:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-09-12 09:31:23 +0200 |
commit | af11de36dc30df8f3f66cee7be836b6250bae4f5 (patch) | |
tree | 2147df183e635eb714f804614fe31b481c17f786 /cui/uiconfig | |
parent | d5f418077a9e257f66ab78a695e6bd73891a43e2 (diff) |
tdf#154063 allow autocorrect GtkTreeView to shrink
It will allow shrinking if there is a horizontal scrollbar.
We don't actually want to show a horizontal scrollbar so use "external"
which vcl will ignore, and gtk not show a visible scrollbar but
allow scrolling. So when we shrink it will "scroll" and the resize
handler sets the column widths as we want and it works out to behave
like vcl does.
If this fails to work out for some reason we could put this inside
some other container which can shrink as an alternative solution.
Change-Id: Ic7e3ab4bff344f4ed5c1a6317644e697c9cfc395
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156673
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/acorreplacepage.ui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/uiconfig/ui/acorreplacepage.ui b/cui/uiconfig/ui/acorreplacepage.ui index bf48f728b65c..0b428273a05e 100644 --- a/cui/uiconfig/ui/acorreplacepage.ui +++ b/cui/uiconfig/ui/acorreplacepage.ui @@ -98,7 +98,7 @@ <property name="can-focus">True</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <property name="hscrollbar-policy">never</property> + <property name="hscrollbar-policy">external</property> <property name="shadow-type">in</property> <child> <object class="GtkTreeView" id="tabview"> |