[gnome-logs] event-detail: Drop width-request



commit eac18f23753aa10b99dbf79f9dd5057c6d1303e7
Author: Guido Günther <agx sigxcpu org>
Date:   Thu Jul 29 09:50:10 2021 +0200

    event-detail: Drop width-request
    
    Rather specify a minimum content-width and height since that's what
    should determine the popover's size.

 data/gl-eventviewdetail.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/gl-eventviewdetail.ui b/data/gl-eventviewdetail.ui
index 0da13b6..3faae78 100644
--- a/data/gl-eventviewdetail.ui
+++ b/data/gl-eventviewdetail.ui
@@ -1,8 +1,6 @@
 <interface domain="gnome-logs">
     <template class="GlEventViewDetail" parent="GtkPopover">
         <!-- The popover size is set such that it does not go beyond the window -->
-        <property name="width-request">600</property>
-        <property name="height-request">300</property>
         <property name="can_focus">False</property>
         <property name="transitions-enabled">True</property>
         <signal name="closed" handler="gl_event_view_detail_popover_closed"/>
@@ -11,6 +9,8 @@
                 <property name="visible">True</property>
                 <property name="hexpand">True</property>
                 <property name="vexpand">True</property>
+                <property name="min-content-width">320</property>
+                <property name="min-content-height">300</property>
                 <property name="can_focus">False</property>
                 <child>
                     <object class="GtkGrid" id="grid">


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