[gthumb/gthumb-3-10: 1/6] histogram: do not resize the sidebar



commit 329012047acf47523f78fb43b202c8c7263d9d62
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri May 29 21:58:37 2020 +0200

    histogram: do not resize the sidebar
    
    Removed fixed size for labels.

 data/ui/histogram-info.ui | 64 +++++++++++++++++++++++------------------------
 1 file changed, 31 insertions(+), 33 deletions(-)
---
diff --git a/data/ui/histogram-info.ui b/data/ui/histogram-info.ui
index b9e8fad8..cd53270a 100644
--- a/data/ui/histogram-info.ui
+++ b/data/ui/histogram-info.ui
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.36.0 -->
 <interface>
-  <!-- interface-requires gtk+ 3.0 -->
+  <requires lib="gtk+" version="3.0"/>
   <object class="GtkBox" id="histogram_info">
     <property name="can_focus">False</property>
     <property name="orientation">vertical</property>
@@ -22,28 +23,25 @@
               <object class="GtkLabel" id="label1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">1</property>
                 <property name="label" translatable="yes">Mean:</property>
                 <property name="ellipsize">end</property>
-                <property name="width_chars">12</property>
+                <property name="xalign">1</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
               </object>
               <packing>
-                <property name="x_options">GTK_FILL</property>
-                <property name="y_options"></property>
+                <property name="y_options"/>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="label2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">1</property>
                 <property name="label" translatable="yes" comments="Short for &quot;Standard 
deviation&quot;.  Try to keep it under the 12 characters in the translation or it will be ellipsized at the 
end.">Std dev:</property>
                 <property name="ellipsize">end</property>
-                <property name="width_chars">12</property>
+                <property name="xalign">1</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="absolute-size" value="10000"/>
@@ -52,18 +50,16 @@
               <packing>
                 <property name="top_attach">1</property>
                 <property name="bottom_attach">2</property>
-                <property name="x_options">GTK_FILL</property>
-                <property name="y_options"></property>
+                <property name="y_options"/>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="label3">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">1</property>
                 <property name="label" translatable="yes">Median:</property>
                 <property name="ellipsize">end</property>
-                <property name="width_chars">12</property>
+                <property name="xalign">1</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="absolute-size" value="10000"/>
@@ -72,16 +68,15 @@
               <packing>
                 <property name="top_attach">2</property>
                 <property name="bottom_attach">3</property>
-                <property name="x_options">GTK_FILL</property>
-                <property name="y_options"></property>
+                <property name="y_options"/>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="mean_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0</property>
                 <property name="width_chars">5</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
@@ -89,6 +84,7 @@
               <packing>
                 <property name="left_attach">1</property>
                 <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
                 <property name="y_options">GTK_EXPAND</property>
               </packing>
             </child>
@@ -96,8 +92,8 @@
               <object class="GtkLabel" id="std_dev_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0</property>
                 <property name="width_chars">5</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
@@ -107,6 +103,7 @@
                 <property name="right_attach">2</property>
                 <property name="top_attach">1</property>
                 <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
                 <property name="y_options">GTK_EXPAND</property>
               </packing>
             </child>
@@ -114,8 +111,8 @@
               <object class="GtkLabel" id="median_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0</property>
                 <property name="width_chars">5</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
@@ -125,13 +122,14 @@
                 <property name="right_attach">2</property>
                 <property name="top_attach">2</property>
                 <property name="bottom_attach">3</property>
+                <property name="x_options">GTK_FILL</property>
                 <property name="y_options">GTK_EXPAND</property>
               </packing>
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
-            <property name="fill">False</property>
+            <property name="expand">True</property>
+            <property name="fill">True</property>
             <property name="position">0</property>
           </packing>
         </child>
@@ -147,24 +145,23 @@
               <object class="GtkLabel" id="label4">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">1</property>
                 <property name="label" translatable="yes" comments="After the colon there is the total 
number of pixels">Pixels:</property>
+                <property name="xalign">1</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
               </object>
               <packing>
-                <property name="x_options">GTK_FILL</property>
-                <property name="y_options"></property>
+                <property name="y_options"/>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="label5">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">1</property>
                 <property name="label" translatable="yes" context="Pixels" comments="After the colon there 
is a percentile.">Max:</property>
+                <property name="xalign">1</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="absolute-size" value="10000"/>
@@ -173,16 +170,15 @@
               <packing>
                 <property name="top_attach">1</property>
                 <property name="bottom_attach">2</property>
-                <property name="x_options">GTK_FILL</property>
-                <property name="y_options"></property>
+                <property name="y_options"/>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="label7">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">1</property>
                 <property name="label" translatable="yes" context="Pixels" comments="After the colon there 
is the percentile of selected pixels.">Selected:</property>
+                <property name="xalign">1</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                   <attribute name="absolute-size" value="10000"/>
@@ -191,16 +187,15 @@
               <packing>
                 <property name="top_attach">2</property>
                 <property name="bottom_attach">3</property>
-                <property name="x_options">GTK_FILL</property>
-                <property name="y_options"></property>
+                <property name="y_options"/>
               </packing>
             </child>
             <child>
               <object class="GtkLabel" id="total_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0</property>
                 <property name="width_chars">10</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
@@ -208,6 +203,7 @@
               <packing>
                 <property name="left_attach">1</property>
                 <property name="right_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
                 <property name="y_options">GTK_EXPAND</property>
               </packing>
             </child>
@@ -215,8 +211,8 @@
               <object class="GtkLabel" id="max_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0</property>
                 <property name="width_chars">10</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
@@ -226,6 +222,7 @@
                 <property name="right_attach">2</property>
                 <property name="top_attach">1</property>
                 <property name="bottom_attach">2</property>
+                <property name="x_options">GTK_FILL</property>
                 <property name="y_options">GTK_EXPAND</property>
               </packing>
             </child>
@@ -233,8 +230,8 @@
               <object class="GtkLabel" id="selected_label">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="xalign">0</property>
                 <property name="width_chars">10</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="absolute-size" value="10000"/>
                 </attributes>
@@ -244,20 +241,21 @@
                 <property name="right_attach">2</property>
                 <property name="top_attach">2</property>
                 <property name="bottom_attach">3</property>
+                <property name="x_options">GTK_FILL</property>
                 <property name="y_options">GTK_EXPAND</property>
               </packing>
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
-            <property name="fill">False</property>
+            <property name="expand">True</property>
+            <property name="fill">True</property>
             <property name="position">1</property>
           </packing>
         </child>
       </object>
       <packing>
         <property name="expand">False</property>
-        <property name="fill">False</property>
+        <property name="fill">True</property>
         <property name="position">0</property>
       </packing>
     </child>


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