[dconf-editor] Tweak first launch window size.



commit 6010d246fcc134d61b610b73c2726b2412597f9b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Jan 6 10:03:54 2019 +0100

    Tweak first launch window size.
    
    Start in "usual window" size, notably for the spacing of the
    pathbar items; so, with a large enough width (800 required).
    
    First launch is at root path, that contains no keys and only
    few subfolders; start with a not-too-big height (420 is ok).

 editor/ca.desrt.dconf-editor.gschema.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/editor/ca.desrt.dconf-editor.gschema.xml b/editor/ca.desrt.dconf-editor.gschema.xml
index e3ef8d4..86a4a25 100644
--- a/editor/ca.desrt.dconf-editor.gschema.xml
+++ b/editor/ca.desrt.dconf-editor.gschema.xml
@@ -97,6 +97,7 @@
   <schema id="ca.desrt.dconf-editor.Settings" path="/ca/desrt/dconf-editor/">
     <child schema="ca.desrt.dconf-editor.Demo" name="demo"/>
     <key name="window-width" type="i">
+      <!-- start in "usual window" size (notably for pathbar items spacing), so with a large enough width -->
       <default>800</default>
       <!-- see AdaptativeWindow.width-request at adaptative-window.ui:6 -->
       <range min="283"/>
@@ -106,7 +107,8 @@
       <description>The width of the main window in pixels.</description>
     </key>
     <key name="window-height" type="i">
-      <default>600</default>
+      <!-- first launch is at root, that only contains few subfolders, so start with a not-too-big height -->
+      <default>420</default>
       <!-- see AdaptativeWindow.height-request at adaptative-window.ui:5 -->
       <range min="349"/>
       <!-- Translators: summary of a settings key, see 'dconf-editor /ca/desrt/dconf-editor/window-height' 
-->


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