[gnome-weather] weather-widget: reduce scrolled windows minimum content width



commit b2eac8fad2372b464f69dade1c514f2e6cde83ef
Author: Arnaud Ferraris <arnaud ferraris collabora com>
Date:   Tue Sep 22 13:49:45 2020 +0200

    weather-widget: reduce scrolled windows minimum content width
    
    Currently, the minimum window width is 384px (this requires hiding the
    minimize/maximize/close buttons, as we do in Phosh).
    
    Reducing the minimum content width allows the window to be resized down
    to 360px, so that it perfectly fits the display of mobile phones such as
    the PinePhone of Librem 5.

 data/weather-widget.ui | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/weather-widget.ui b/data/weather-widget.ui
index e15f3a5..ed0f78a 100644
--- a/data/weather-widget.ui
+++ b/data/weather-widget.ui
@@ -32,7 +32,7 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="vscrollbar_policy">never</property>
-                        <property name="min_content_width">332</property>
+                        <property name="min_content_width">308</property>
                         <child>
                           <object class="GtkViewport" id="forecast-hourly-viewport">
                             <property name="visible">True</property>
@@ -65,7 +65,7 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="vscrollbar_policy">never</property>
-                        <property name="min_content_width">332</property>
+                        <property name="min_content_width">308</property>
                         <child>
                           <object class="GtkViewport" id="forecast-daily-viewport">
                             <property name="visible">True</property>


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