[libepc/gtk4] gtk4: examples: Replace another GtkAlignment.



commit 6aca97dfe1559d0ba3535aab62bf29081b21fa67
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Nov 22 08:50:14 2016 +0100

    gtk4: examples: Replace another GtkAlignment.

 examples/publisher.ui |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/examples/publisher.ui b/examples/publisher.ui
index 1d6ac75..8ab3b4a 100644
--- a/examples/publisher.ui
+++ b/examples/publisher.ui
@@ -299,19 +299,13 @@
                     <property name="can_focus">True</property>
                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                     <child>
-                      <object class="GtkAlignment" id="bookmark-alignment">
+                      <object class="GtkEntry" id="bookmark">
                         <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="margin_start">12</property>
                         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
-                        <property name="left_padding">12</property>
-                        <child>
-                          <object class="GtkEntry" id="bookmark">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | 
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
-                            <property name="max_length">64</property>
-                            <signal handler="bookmark_changed_cb" name="changed"/>
-                          </object>
-                        </child>
+                        <property name="max_length">64</property>
+                        <signal handler="bookmark_changed_cb" name="changed"/>
                       </object>
                     </child>
                     <child type="label">


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