[gnome-builder/wip/gtk4-port] plugins/testui: fix output panel



commit 65daf464f4d33e7c10caf23dda438fac74eafe43
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 28 03:57:56 2022 -0700

    plugins/testui: fix output panel

 src/plugins/testui/gbp-test-output-panel.ui | 55 +++++++++++------------------
 1 file changed, 20 insertions(+), 35 deletions(-)
---
diff --git a/src/plugins/testui/gbp-test-output-panel.ui b/src/plugins/testui/gbp-test-output-panel.ui
index 5ec96ba4a..d489c1f15 100644
--- a/src/plugins/testui/gbp-test-output-panel.ui
+++ b/src/plugins/testui/gbp-test-output-panel.ui
@@ -1,19 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="GbpTestOutputPanel" parent="IdePane">
+    <property name="hexpand">true</property>
+    <property name="vexpand">true</property>
     <child>
-      <object class="GtkScrolledWindow">
-        <property name="visible">true</property>
+      <object class="GtkBox">
+        <property name="orientation">horizontal</property>
         <child>
-          <object class="IdeTerminal" id="terminal">
-            <property name="audible-bell">false</property>
-            <property name="expand">true</property>
-            <property name="visible">true</property>
+          <object class="GtkScrolledWindow">
+            <property name="hexpand">true</property>
+            <property name="vexpand">true</property>
+            <child>
+              <object class="IdeTerminal" id="terminal">
+                <property name="audible-bell">false</property>
+              </object>
+            </child>
           </object>
         </child>
         <child>
           <object class="GtkSeparator">
-            <property name="visible">true</property>
+            <property name="orientation">vertical</property>
             <style>
               <class name="sidebar"/>
             </style>
@@ -21,61 +27,40 @@
         </child>
         <child>
           <object class="GtkBox">
-            <property name="border-width">2</property>
-            <property name="hexpand">false</property>
+            <property name="margin-top">2</property>
+            <property name="margin-start">2</property>
+            <property name="margin-end">2</property>
+            <property name="margin-bottom">2</property>
             <property name="orientation">vertical</property>
             <property name="spacing">2</property>
-            <property name="vexpand">true</property>
-            <property name="visible">true</property>
             <child>
               <object class="GtkButton" id="clear_button">
                 <property name="action-name">test-output.clear</property>
-                <property name="expand">false</property>
                 <property name="tooltip-text" translatable="yes">Clear test output</property>
-                <property name="visible">true</property>
+                <property name="icon-name">edit-clear-all-symbolic</property>
                 <style>
                   <class name="flat"/>
                 </style>
-                <child>
-                  <object class="GtkImage">
-                    <property name="icon-name">edit-clear-all-symbolic</property>
-                    <property name="visible">true</property>
-                  </object>
-                </child>
               </object>
             </child>
             <child>
               <object class="GtkButton" id="stop_button">
                 <property name="action-name">test-manager.cancel</property>
-                <property name="expand">false</property>
                 <property name="tooltip-text" translatable="yes">Cancel tests</property>
-                <property name="visible">true</property>
+                <property name="icon-name">builder-build-stop-symbolic</property>
                 <style>
                   <class name="flat"/>
                 </style>
-                <child>
-                  <object class="GtkImage">
-                    <property name="icon-name">builder-build-stop-symbolic</property>
-                    <property name="visible">true</property>
-                  </object>
-                </child>
               </object>
             </child>
             <child>
               <object class="GtkButton" id="save_button">
                 <property name="action-name">test-output.save</property>
-                <property name="expand">false</property>
                 <property name="tooltip-text" translatable="yes">Save test output</property>
-                <property name="visible">true</property>
+                <property name="icon-name">document-save-symbolic</property>
                 <style>
                   <class name="flat"/>
                 </style>
-                <child>
-                  <object class="GtkImage">
-                    <property name="icon-name">document-save-symbolic</property>
-                    <property name="visible">true</property>
-                  </object>
-                </child>
               </object>
             </child>
           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]