summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-05-06 16:35:21 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-05-07 17:38:35 +0200
commit8f99fe30d0661e278824b2f8f65aaa5f94a622ac (patch)
treee21d44a186b5f8853e97cd2aaecec60efd7b5a28
parent2e33212b761cbed1b13a00750ecb7fece0d6a047 (diff)
tdf#143720 treeview not expanding vertically to fill space
use a simpler box instead of a grid here and it works out ok vertically Change-Id: I14fd05b25b00f79b115c041a8e9f5c7ebcf49419 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133956 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--sw/uiconfig/swriter/ui/assignstylesdialog.ui16
1 files changed, 9 insertions, 7 deletions
diff --git a/sw/uiconfig/swriter/ui/assignstylesdialog.ui b/sw/uiconfig/swriter/ui/assignstylesdialog.ui
index 11720dddeb31..1ed5cbb56e65 100644
--- a/sw/uiconfig/swriter/ui/assignstylesdialog.ui
+++ b/sw/uiconfig/swriter/ui/assignstylesdialog.ui
@@ -165,15 +165,15 @@
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
<child>
- <!-- n-columns=1 n-rows=1 -->
- <object class="GtkGrid" id="grid1">
+ <object class="GtkBox" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
- <property name="row_spacing">6</property>
<property name="margin-start">12</property>
<property name="margin-top">6</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
<child>
<!-- n-columns=1 n-rows=1 -->
<object class="GtkGrid" id="grid2">
@@ -239,8 +239,9 @@
</child>
</object>
<packing>
- <property name="left_attach">0</property>
- <property name="top_attach">1</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
</packing>
</child>
<child>
@@ -447,8 +448,9 @@
</child>
</object>
<packing>
- <property name="left_attach">0</property>
- <property name="top_attach">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
</packing>
</child>
</object>