[california] Use GtkScrolledWindow for showing event: Closes bgo#727241



commit 4a51868c6a33130f06b94ef15526b62bee6ce0d1
Author: Jim Nelson <jim yorba org>
Date:   Tue Apr 15 19:01:04 2014 -0700

    Use GtkScrolledWindow for showing event: Closes bgo#727241

 src/rc/show-event.ui |   59 +++++++++++++++++++++++++++++++++----------------
 1 files changed, 40 insertions(+), 19 deletions(-)
---
diff --git a/src/rc/show-event.ui b/src/rc/show-event.ui
index da6c847..41b82bb 100644
--- a/src/rc/show-event.ui
+++ b/src/rc/show-event.ui
@@ -10,25 +10,6 @@
     <property name="margin_top">8</property>
     <property name="margin_bottom">8</property>
     <child>
-      <object class="GtkLabel" id="text_label">
-        <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="margin_bottom">8</property>
-        <property name="xalign">0</property>
-        <property name="label">Event...</property>
-        <property name="use_markup">True</property>
-        <property name="wrap">True</property>
-        <property name="width_chars">32</property>
-        <property name="max_width_chars">64</property>
-      </object>
-      <packing>
-        <property name="left_attach">0</property>
-        <property name="top_attach">0</property>
-        <property name="width">1</property>
-        <property name="height">1</property>
-      </packing>
-    </child>
-    <child>
       <object class="GtkButtonBox" id="button_box">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
@@ -103,5 +84,45 @@
         <property name="height">1</property>
       </packing>
     </child>
+    <child>
+      <object class="GtkScrolledWindow" id="scrolledwindow1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="hexpand">True</property>
+        <property name="vexpand">True</property>
+        <property name="min_content_width">350</property>
+        <property name="min_content_height">200</property>
+        <child>
+          <object class="GtkViewport" id="viewport1">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">True</property>
+            <property name="vexpand">True</property>
+            <property name="shadow_type">none</property>
+            <child>
+              <object class="GtkLabel" id="text_label">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="hexpand">True</property>
+                <property name="vexpand">True</property>
+                <property name="xalign">0</property>
+                <property name="yalign">0</property>
+                <property name="label">Event...</property>
+                <property name="use_markup">True</property>
+                <property name="wrap">True</property>
+                <property name="width_chars">32</property>
+                <property name="max_width_chars">64</property>
+              </object>
+            </child>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="left_attach">0</property>
+        <property name="top_attach">0</property>
+        <property name="width">1</property>
+        <property name="height">1</property>
+      </packing>
+    </child>
   </template>
 </interface>


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