[libadwaita/entry-row: 5/5] demo: Use an entry row for avatar text




commit 73c617ef4e0209709749414c1e2cb5d074b8c4ef
Author: Maximiliano Sandoval R <msandova protonmail com>
Date:   Sat Jul 24 23:10:59 2021 +0200

    demo: Use an entry row for avatar text

 demo/pages/avatar/adw-demo-page-avatar.c  | 2 +-
 demo/pages/avatar/adw-demo-page-avatar.ui | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/demo/pages/avatar/adw-demo-page-avatar.c b/demo/pages/avatar/adw-demo-page-avatar.c
index fb935e06..e5f0d42a 100644
--- a/demo/pages/avatar/adw-demo-page-avatar.c
+++ b/demo/pages/avatar/adw-demo-page-avatar.c
@@ -7,7 +7,7 @@ struct _AdwDemoPageAvatar
   AdwBin parent_instance;
 
   AdwAvatar *avatar;
-  GtkEntry *text;
+  AdwEntryRow *text;
   GtkLabel *file_chooser_label;
   GtkListBox *contacts;
 };
diff --git a/demo/pages/avatar/adw-demo-page-avatar.ui b/demo/pages/avatar/adw-demo-page-avatar.ui
index b3acea24..0bd9ff94 100644
--- a/demo/pages/avatar/adw-demo-page-avatar.ui
+++ b/demo/pages/avatar/adw-demo-page-avatar.ui
@@ -66,13 +66,8 @@
                         <child>
                           <object class="AdwPreferencesGroup">
                             <child>
-                              <object class="AdwActionRow">
+                              <object class="AdwEntryRow" id="text">
                                 <property name="title" translatable="yes">Text</property>
-                                <child>
-                                  <object class="GtkEntry" id="text">
-                                    <property name="valign">center</property>
-                                  </object>
-                                </child>
                               </object>
                             </child>
                             <child>


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