starmath/uiconfig/smath/ui/editwindow.ui |    3 ++-
 starmath/uiconfig/smath/ui/mathwindow.ui |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 569a389f977faa347ae472167769cdc1718a0118
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue Oct 19 20:45:33 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Oct 20 10:04:04 2021 +0200

    gtk4: make starmath edit and math widgets visible
    
    [GtkBox's expand child property] can be replaced by setting
    GtkWidget:hexpand or GtkWidget:vexpand on the child widgets. To match
    the old behavior of the GtkBox‘s expand child property, you need to set
    hexpand on the child widgets of a horizontal GtkBox and vexpand on the
    child widgets of a vertical GtkBox.
    
    Change-Id: I72ebb77cbd92001842abee77a23dcdf6aa1b7a2d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123842
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/starmath/uiconfig/smath/ui/editwindow.ui 
b/starmath/uiconfig/smath/ui/editwindow.ui
index fc1300887fcf..be25ca2740be 100644
--- a/starmath/uiconfig/smath/ui/editwindow.ui
+++ b/starmath/uiconfig/smath/ui/editwindow.ui
@@ -12,6 +12,7 @@
       <object class="GtkScrolledWindow" id="scrolledwindow">
         <property name="visible">True</property>
         <property name="can-focus">True</property>
+        <property name="hexpand">True</property>
         <property name="border-width">0</property>
         <property name="hscrollbar-policy">never</property>
         <property name="vscrollbar-policy">always</property>
@@ -31,7 +32,7 @@
         </child>
       </object>
       <packing>
-        <property name="expand">True</property>
+        <property name="expand">False</property>
         <property name="fill">True</property>
         <property name="position">0</property>
       </packing>
diff --git a/starmath/uiconfig/smath/ui/mathwindow.ui 
b/starmath/uiconfig/smath/ui/mathwindow.ui
index 3737c0d63791..527e436fd6e1 100644
--- a/starmath/uiconfig/smath/ui/mathwindow.ui
+++ b/starmath/uiconfig/smath/ui/mathwindow.ui
@@ -12,6 +12,7 @@
       <object class="GtkScrolledWindow" id="scrolledwindow">
         <property name="visible">True</property>
         <property name="can-focus">True</property>
+        <property name="hexpand">True</property>
         <property name="border-width">0</property>
         <property name="shadow-type">etched-out</property>
         <child>
@@ -29,7 +30,7 @@
         </child>
       </object>
       <packing>
-        <property name="expand">True</property>
+        <property name="expand">False</property>
         <property name="fill">True</property>
         <property name="position">0</property>
       </packing>

Reply via email to