summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-21 16:14:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-21 21:26:24 +0200
commit75b6ef164bac9543bdcf91f14f583a936ec43f6a (patch)
treee7d06d1134a6643e749bf7be59cf61395a96b85c /sw
parent1d3e95415e218dfe44ab85d9df501ce9fcd86ccb (diff)
gtk4: GtkPicture triggers some sort of unexplained vertical expand
an intermediate horizontal GtkBox works to stop the propogation Change-Id: I9fd51c3968c463c7b872b7a12bc3960602d0b025 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117596 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/uiconfig/swriter/ui/wrappage.ui210
1 files changed, 138 insertions, 72 deletions
diff --git a/sw/uiconfig/swriter/ui/wrappage.ui b/sw/uiconfig/swriter/ui/wrappage.ui
index ede6800d1837..be7187393fa1 100644
--- a/sw/uiconfig/swriter/ui/wrappage.ui
+++ b/sw/uiconfig/swriter/ui/wrappage.ui
@@ -57,18 +57,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
- <object class="GtkImage" id="beforeimg">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">center</property>
- <property name="valign">end</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
- </child>
- <child>
<object class="GtkRadioButton" id="before">
<property name="label" translatable="yes" context="wrappage|before">Be_fore</property>
<property name="visible">True</property>
@@ -92,6 +80,29 @@
<property name="top-attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="beforeimg">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="left-attach">1</property>
@@ -106,18 +117,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
- <object class="GtkImage" id="afterimg">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">center</property>
- <property name="valign">end</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
- </child>
- <child>
<object class="GtkRadioButton" id="after">
<property name="label" translatable="yes" context="wrappage|after">Aft_er</property>
<property name="visible">True</property>
@@ -141,6 +140,29 @@
<property name="top-attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="afterimg">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="left-attach">2</property>
@@ -155,18 +177,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
- <object class="GtkImage" id="parallelimg">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">center</property>
- <property name="valign">end</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
- </child>
- <child>
<object class="GtkRadioButton" id="parallel">
<property name="label" translatable="yes" context="wrappage|parallel">_Parallel</property>
<property name="visible">True</property>
@@ -190,6 +200,29 @@
<property name="top-attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="parallelimg">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="left-attach">0</property>
@@ -204,18 +237,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
- <object class="GtkImage" id="throughimg">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">center</property>
- <property name="valign">end</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
- </child>
- <child>
<object class="GtkRadioButton" id="through">
<property name="label" translatable="yes" context="wrappage|through">Thro_ugh</property>
<property name="visible">True</property>
@@ -239,6 +260,29 @@
<property name="top-attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="throughimg">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="left-attach">1</property>
@@ -253,18 +297,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
- <object class="GtkImage" id="noneimg">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">center</property>
- <property name="valign">end</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
- </child>
- <child>
<object class="GtkRadioButton" id="none">
<property name="label" translatable="yes" context="wrappage|none">_Wrap Off</property>
<property name="visible">True</property>
@@ -288,6 +320,29 @@
<property name="top-attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="noneimg">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="left-attach">0</property>
@@ -302,18 +357,6 @@
<property name="halign">center</property>
<property name="valign">center</property>
<child>
- <object class="GtkImage" id="optimalimg">
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="halign">center</property>
- <property name="valign">end</property>
- </object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
- </child>
- <child>
<object class="GtkRadioButton" id="optimal">
<property name="label" translatable="yes" context="wrappage|optimal">_Optimal</property>
<property name="visible">True</property>
@@ -337,6 +380,29 @@
<property name="top-attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <child>
+ <object class="GtkImage" id="optimalimg">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="left-attach">2</property>