[gnome-taquin] Adjust a value.



commit 38e161dc782367b0fe137e49045c756bd0d5e950
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Jul 31 16:02:39 2019 +0200

    Adjust a value.

 data/org.gnome.Taquin.gschema.xml | 4 ++++
 data/ui/adaptative-window.ui      | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/data/org.gnome.Taquin.gschema.xml b/data/org.gnome.Taquin.gschema.xml
index d10216d..9558fb7 100644
--- a/data/org.gnome.Taquin.gschema.xml
+++ b/data/org.gnome.Taquin.gschema.xml
@@ -9,6 +9,8 @@
     </key>
     <key name="window-width" type="i">
       <default>540</default>
+      <!-- see AdaptativeWindow.width-request at data/ui/adaptative-window.ui:22 -->
+      <range min="350"/>
       <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/taquin/window-width' -->
       <summary>The width of the window</summary>
       <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/taquin/window-width' -->
@@ -16,6 +18,8 @@
     </key>
     <key name="window-height" type="i">
       <default>500</default>
+      <!-- see AdaptativeWindow.height-request at data/ui/adaptative-window.ui:21 -->
+      <range min="284"/>
       <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/taquin/window-height' -->
       <summary>The height of the window</summary>
       <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/taquin/window-height' -->
diff --git a/data/ui/adaptative-window.ui b/data/ui/adaptative-window.ui
index eb9dddb..2bf1552 100644
--- a/data/ui/adaptative-window.ui
+++ b/data/ui/adaptative-window.ui
@@ -18,8 +18,8 @@
 <interface>
   <requires lib="gtk+" version="3.12"/>
   <template class="AdaptativeWindow" parent="GtkApplicationWindow">
-    <property name="height-request">277</property>  <!-- 288px max for Purism Librem 5 landscape, for 720px 
width -->
-    <property name="width-request">349</property>   <!-- 360px max for Purism Librem 5 portrait, for 648px 
height -->
+    <property name="height-request">284</property>  <!-- 288px max for Purism Librem 5 landscape, for 720px 
width; update gschema also -->
+    <property name="width-request">350</property>   <!-- 360px max for Purism Librem 5 portrait, for 648px 
height; update gschema also -->
     <signal name="window-state-event"   handler="on_window_state_event"/>
     <signal name="size-allocate"        handler="on_size_allocate"/>
     <signal name="destroy"              handler="on_destroy"/>


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