[easytag] Allow the search dialog tree view to expand



commit 790a379aa45523126630e58992fc83470f059079
Author: David King <amigadave amigadave com>
Date:   Sun Dec 14 22:06:46 2014 +0000

    Allow the search dialog tree view to expand
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741525

 data/search_dialog.ui |   69 ++++++++++++++++++++++--------------------------
 1 files changed, 32 insertions(+), 37 deletions(-)
---
diff --git a/data/search_dialog.ui b/data/search_dialog.ui
index 104a9f4..ac59f19 100644
--- a/data/search_dialog.ui
+++ b/data/search_dialog.ui
@@ -67,6 +67,7 @@
         <child>
             <object class="GtkComboBox" id="search_combo">
                 <property name="has-entry">True</property>
+                <property name="hexpand">True</property>
                 <property name="entry-text-column">0</property>
                 <property name="tooltip-text" translatable="yes">Type the text to search for in the file 
list, or leave the field empty to display all files</property>
                 <property name="visible">True</property>
@@ -74,7 +75,6 @@
             <packing>
                 <property name="left-attach">1</property>
                 <property name="top-attach">0</property>
-                <property name="width">4</property>
             </packing>
         </child>
         <child>
@@ -85,7 +85,7 @@
                 <property name="visible">True</property>
             </object>
             <packing>
-                <property name="left-attach">5</property>
+                <property name="left-attach">2</property>
                 <property name="top-attach">0</property>
             </packing>
         </child>
@@ -101,9 +101,33 @@
             </packing>
         </child>
         <child>
-            <object class="GtkCheckButton" id="search_filename_check">
-                <property name="label" translatable="yes" comments="This option is for the previous 'in' 
option. For instance, translate this as 'Search' 'In:' 'the Filename'.">the Filename</property>
+            <object class="GtkBox" id="search_options_box">
+                <property name="spacing">6</property>
                 <property name="visible">True</property>
+                <child>
+                    <object class="GtkCheckButton" id="search_filename_check">
+                        <property name="label" translatable="yes" comments="This option is for the previous 
'in' option. For instance, translate this as 'Search' 'In:' 'the Filename'.">the Filename</property>
+                        <property name="visible">True</property>
+                    </object>
+                </child>
+                <child>
+                    <object class="GtkCheckButton" id="search_tag_check">
+                        <property name="label" translatable="yes" comments="This option is for the previous 
'in' option. For instance, translate this as 'Search' 'In:' 'the Tag'.">the Tag</property>
+                        <property name="visible">True</property>
+                    </object>
+                </child>
+                <child>
+                    <object class="GtkSeparator" id="search_separator">
+                        <property name="orientation">vertical</property>
+                        <property name="visible">True</property>
+                    </object>
+                </child>
+                <child>
+                    <object class="GtkCheckButton" id="search_case_check">
+                        <property name="label" translatable="yes">Case sensitive</property>
+                        <property name="visible">True</property>
+                    </object>
+                </child>
             </object>
             <packing>
                 <property name="left-attach">1</property>
@@ -111,43 +135,13 @@
             </packing>
         </child>
         <child>
-            <object class="GtkCheckButton" id="search_tag_check">
-                <property name="label" translatable="yes" comments="This option is for the previous 'in' 
option. For instance, translate this as 'Search' 'In:' 'the Tag'.">the Tag</property>
-                <property name="visible">True</property>
-            </object>
-            <packing>
-                <property name="left-attach">2</property>
-                <property name="top-attach">1</property>
-            </packing>
-        </child>
-        <child>
-            <object class="GtkSeparator" id="search_separator">
-                <property name="orientation">vertical</property>
-                <property name="visible">True</property>
-            </object>
-            <packing>
-                <property name="left-attach">3</property>
-                <property name="top-attach">1</property>
-            </packing>
-        </child>
-        <child>
-            <object class="GtkCheckButton" id="search_case_check">
-                <property name="label" translatable="yes">Case sensitive</property>
-                <property name="visible">True</property>
-            </object>
-            <packing>
-                <property name="left-attach">4</property>
-                <property name="top-attach">1</property>
-            </packing>
-        </child>
-        <child>
             <object class="GtkButton" id="search_close_button">
                 <property name="label" translatable="yes">_Close</property>
                 <property name="use-underline">True</property>
                 <property name="visible">True</property>
             </object>
             <packing>
-                <property name="left-attach">5</property>
+                <property name="left-attach">2</property>
                 <property name="top-attach">1</property>
             </packing>
         </child>
@@ -158,6 +152,7 @@
                 <property name="visible">True</property>
                 <child>
                     <object class="GtkTreeView" id="search_view">
+                        <property name="expand">True</property>
                         <property name="model">search_model</property>
                         <property name="sensitive">False</property>
                         <property name="visible">True</property>
@@ -367,7 +362,7 @@
             <packing>
                 <property name="left-attach">0</property>
                 <property name="top-attach">2</property>
-                <property name="width">6</property>
+                <property name="width">3</property>
             </packing>
         </child>
         <child>
@@ -377,7 +372,7 @@
             <packing>
                 <property name="left-attach">0</property>
                 <property name="top-attach">3</property>
-                <property name="width">6</property>
+                <property name="width">3</property>
             </packing>
         </child>
     </object>


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