changeset 761:857aab04f7bd

CC layout to fit more curves Ignore-this: d7f2bf80e85da0c969605cac0355fbb5
author drewp@bigasterisk.com
date Sat, 16 Jun 2012 02:00:03 +0000
parents 634e8a3ebd0a
children 9e373ba54aa9
files bin/curvecalc light9/curvecalc/curvecalc.glade
diffstat 2 files changed, 13 insertions(+), 56 deletions(-) [+]
line wrap: on
line diff
--- a/bin/curvecalc	Sat Jun 16 01:33:36 2012 +0000
+++ b/bin/curvecalc	Sat Jun 16 02:00:03 2012 +0000
@@ -70,6 +70,7 @@
         # but it's a minimum size, which i don't really want
         mainwin.set_size_request(1678, 922)
 
+
         wtree.get_object("subterms").connect("add", self.onSubtermChildAdded)
         self.add_subterms_for_song(song, curveset, subterms)
         self.refreshCurveView()       
@@ -87,6 +88,9 @@
         mainwin.forall(connect) # not very effective
         connect(wtree.get_object("subterms")) # works for that area
 
+        # may not work
+        wtree.get_object("paned1").set_position(600)
+
     def onDataReceived(self, widget, context, x, y, selection,
                        targetType, time):
         uri = URIRef(selection.data.strip())
--- a/light9/curvecalc/curvecalc.glade	Sat Jun 16 01:33:36 2012 +0000
+++ b/light9/curvecalc/curvecalc.glade	Sat Jun 16 02:00:03 2012 +0000
@@ -300,6 +300,7 @@
             <property name="height_request">600</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
+            <property name="position">600</property>
             <child>
               <object class="GtkExpander" id="expander2">
                 <property name="height_request">400</property>
@@ -609,53 +610,16 @@
               </packing>
             </child>
             <child>
-              <object class="GtkFrame" id="frame3">
+              <object class="GtkTextView" id="textview1">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="label_xalign">0</property>
-                <property name="label_yalign">0</property>
-                <property name="shadow_type">out</property>
-                <child>
-                  <object class="GtkVBox" id="vbox7">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <child>
-                      <object class="GtkImage" id="image3">
-                        <property name="width_request">289</property>
-                        <property name="height_request">120</property>
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="stock">gtk-missing-image</property>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">False</property>
-                        <property name="position">0</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkLabel" id="label19">
-                        <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="yalign">0.4699999988079071</property>
-                        <property name="label" translatable="yes">vidref from Sat 15:30</property>
-                      </object>
-                      <packing>
-                        <property name="expand">True</property>
-                        <property name="fill">True</property>
-                        <property name="position">1</property>
-                      </packing>
-                    </child>
-                  </object>
-                </child>
-                <child type="label_item">
-                  <placeholder/>
-                </child>
+                <property name="can_focus">True</property>
+                <property name="editable">False</property>
+                <property name="wrap_mode">word</property>
+                <property name="buffer">help</property>
               </object>
               <packing>
-                <property name="expand">False</property>
-                <property name="fill">False</property>
-                <property name="padding">5</property>
+                <property name="expand">True</property>
+                <property name="fill">True</property>
                 <property name="position">1</property>
               </packing>
             </child>
@@ -668,18 +632,7 @@
           </packing>
         </child>
         <child>
-          <object class="GtkTextView" id="textview1">
-            <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="editable">False</property>
-            <property name="wrap_mode">word</property>
-            <property name="buffer">help</property>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">False</property>
-            <property name="position">3</property>
-          </packing>
+          <placeholder/>
         </child>
       </object>
     </child>