[sysprof] ui: tweak layout of recording button a bit



commit 3e1686a7f43b4ffb6a25884942a5d7d2ffa154cb
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 23 15:50:10 2021 -0800

    ui: tweak layout of recording button a bit
    
    This makes things look a lot better on the initial display. If the window
    is too large, the compositor can maximize it anyway.

 src/libsysprof-ui/sysprof-profiler-assistant.ui | 9 +++++----
 src/sysprof/ui/sysprof-window.ui                | 3 +--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-profiler-assistant.ui b/src/libsysprof-ui/sysprof-profiler-assistant.ui
index b571a7c..5884f62 100644
--- a/src/libsysprof-ui/sysprof-profiler-assistant.ui
+++ b/src/libsysprof-ui/sysprof-profiler-assistant.ui
@@ -81,6 +81,7 @@
     <child>
       <object class="GtkScrolledWindow">
         <property name="propagate-natural-width">true</property>
+        <property name="propagate-natural-height">true</property>
         <property name="hscrollbar-policy">never</property>
         <property name="visible">true</property>
         <child>
@@ -223,7 +224,7 @@
                   </object>
                   <packing>
                     <property name="column">center</property>
-                    <property name="row">4</property>
+                    <property name="row">5</property>
                   </packing>
                 </child>
                 <child>
@@ -535,15 +536,15 @@
                     <property name="halign">end</property>
                     <property name="width-request">125</property>
                     <property name="visible">true</property>
-                    <property name="margin-top">12</property>
-                    <property name="margin-bottom">24</property>
+                    <property name="margin-top">24</property>
+                    <property name="margin-bottom">12</property>
                     <style>
                       <class name="suggested-action"/>
                     </style>
                   </object>
                   <packing>
                     <property name="column">center</property>
-                    <property name="row">5</property>
+                    <property name="row">4</property>
                   </packing>
                 </child>
               </object>
diff --git a/src/sysprof/ui/sysprof-window.ui b/src/sysprof/ui/sysprof-window.ui
index 8973a3d..01ec33e 100644
--- a/src/sysprof/ui/sysprof-window.ui
+++ b/src/sysprof/ui/sysprof-window.ui
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <interface>
   <template class="SysprofWindow" parent="DzlApplicationWindow">
-    <property name="default-height">700</property>
-    <property name="default-width">1200</property>
+    <property name="default-height">900</property>
     <property name="icon-name">org.gnome.Sysprof-symbolic</property>
     <property name="show-menubar">false</property>
     <child type="titlebar">


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