[dconf-editor] Correct dialogs' height.



commit ee4e05b7ba75409ab2c792673e383291ee6dfead
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Mar 11 17:16:51 2016 +0100

    Correct dialogs' height.

 editor/key-editor-no-schema.ui |    3 +--
 editor/key-editor.ui           |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/editor/key-editor-no-schema.ui b/editor/key-editor-no-schema.ui
index b4dd787..7a28aca 100644
--- a/editor/key-editor-no-schema.ui
+++ b/editor/key-editor-no-schema.ui
@@ -3,10 +3,9 @@
   <!-- interface-requires gtk+ 3.0 -->
   <template class="KeyEditorNoSchema" parent="KeyEditorDialog">
     <property name="visible">False</property>
+    <property name="valign">center</property> <!-- TODO bug of GtkDialog, that adds space at the bottom -->
     <property name="modal">True</property>
-    <property name="default-height">1</property><!-- TODO bug of GtkDialog, that reserves space for bottom 
buttons -->
     <property name="default-width">600</property>
-    <property name="width-request">600</property>
     <property name="resizable">False</property>
     <property name="title" translatable="yes">Key Editor</property>
     <child type="action">
diff --git a/editor/key-editor.ui b/editor/key-editor.ui
index 606dc17..f69022e 100644
--- a/editor/key-editor.ui
+++ b/editor/key-editor.ui
@@ -3,10 +3,9 @@
   <!-- interface-requires gtk+ 3.0 -->
   <template class="KeyEditor" parent="KeyEditorDialog">
     <property name="visible">False</property>
+    <property name="valign">center</property> <!-- TODO bug of GtkDialog, that adds space at the bottom -->
     <property name="modal">True</property>
-    <property name="default-height">1</property><!-- TODO bug of GtkDialog, that reserves space for bottom 
buttons -->
     <property name="default-width">600</property>
-    <property name="width-request">600</property>
     <property name="resizable">False</property>
     <property name="title" translatable="yes">Key Editor</property>
     <child type="action">


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