[goffice] A better plot type selector.



commit ad837a334714c5abb033aa03cc95f3764676bfb8
Author: Jean Brefort <jean brefort normalesup org>
Date:   Thu Jan 14 12:02:04 2010 +0100

    A better plot type selector.

 ChangeLog                               |    4 +++
 goffice/graph/gog-guru-type-selector.ui |   36 ++++++++++++++++++++++--------
 2 files changed, 30 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6f27e35..f5963e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-01-14  Jean Brefort  <jean brefort normalesup org>
 
+	* goffice/graph/gog-guru-type-selector.ui: a better plot type selector.
+
+2010-01-14  Jean Brefort  <jean brefort normalesup org>
+
 	* goffice/graph/gog-guru-type-selector.ui: add a sample and remove obsolete
 	widgets. [#495781 and #606162].
 	* goffice/graph/gog-guru.c (cb_typesel_sample_plot_resize),
diff --git a/goffice/graph/gog-guru-type-selector.ui b/goffice/graph/gog-guru-type-selector.ui
index f2232ad..f4bfb2d 100644
--- a/goffice/graph/gog-guru-type-selector.ui
+++ b/goffice/graph/gog-guru-type-selector.ui
@@ -61,16 +61,22 @@
               </packing>
             </child>
             <child>
-              <object class="GtkVBox" id="vbox5">
+              <placeholder/>
+            </child>
+            <child>
+              <object class="GtkVPaned" id="vpaned1">
                 <property name="visible">True</property>
-                <property name="spacing">12</property>
+                <property name="can_focus">True</property>
+                <property name="orientation">vertical</property>
+                <property name="position">250</property>
                 <child>
-                  <object class="GtkVBox" id="rbox">
+                  <object class="GtkVBox" id="sample-box">
                     <property name="visible">True</property>
-                    <property name="spacing">6</property>
+                    <property name="orientation">vertical</property>
                     <child>
                       <object class="GtkLabel" id="sample-label">
                         <property name="visible">True</property>
+                        <property name="xalign">0</property>
                         <property name="label" translatable="yes">&lt;b&gt;Sample&lt;/b&gt;</property>
                         <property name="use_markup">True</property>
                       </object>
@@ -82,7 +88,6 @@
                     </child>
                     <child>
                       <object class="GtkFrame" id="sample-container">
-                        <property name="height_request">240</property>
                         <property name="visible">True</property>
                         <property name="label_xalign">0</property>
                         <property name="shadow_type">in</property>
@@ -94,10 +99,20 @@
                         </child>
                       </object>
                       <packing>
-                        <property name="expand">False</property>
                         <property name="position">1</property>
                       </packing>
                     </child>
+                  </object>
+                  <packing>
+                    <property name="resize">True</property>
+                    <property name="shrink">True</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkVBox" id="rbox">
+                    <property name="visible">True</property>
+                    <property name="orientation">vertical</property>
+                    <property name="spacing">6</property>
                     <child>
                       <object class="GtkLabel" id="subtype_label">
                         <property name="visible">True</property>
@@ -110,7 +125,7 @@
                       <packing>
                         <property name="expand">False</property>
                         <property name="fill">False</property>
-                        <property name="position">2</property>
+                        <property name="position">0</property>
                       </packing>
                     </child>
                     <child>
@@ -124,17 +139,18 @@
                         </child>
                       </object>
                       <packing>
-                        <property name="position">3</property>
+                        <property name="position">1</property>
                       </packing>
                     </child>
                   </object>
                   <packing>
-                    <property name="position">0</property>
+                    <property name="resize">True</property>
+                    <property name="shrink">True</property>
                   </packing>
                 </child>
               </object>
               <packing>
-                <property name="position">1</property>
+                <property name="position">2</property>
               </packing>
             </child>
           </object>



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