[gtk/wip/ebassi/grid-layout] examples: Update GtkGrid definitions in UI files
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/grid-layout] examples: Update GtkGrid definitions in UI files
- Date: Thu, 4 Apr 2019 23:14:14 +0000 (UTC)
commit 98a3d572844148b4f40b8c1910632da0af229c4f
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Apr 5 00:12:59 2019 +0100
examples: Update GtkGrid definitions in UI files
examples/builder.ui | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/examples/builder.ui b/examples/builder.ui
index eb4c60c866..0f16026c01 100644
--- a/examples/builder.ui
+++ b/examples/builder.ui
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object id="window" class="GtkWindow">
<property name="title">Grid</property>
@@ -6,30 +7,30 @@
<child>
<object id="button1" class="GtkButton">
<property name="label">Button 1</property>
+ <layout>
+ <property name="left-attach">0</property>
+ <property name="top-attach">0</property>
+ </layout>
</object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">0</property>
- </packing>
</child>
<child>
<object id="button2" class="GtkButton">
<property name="label">Button 2</property>
+ <layout>
+ <property name="left-attach">1</property>
+ <property name="top-attach">0</property>
+ </layout>
</object>
- <packing>
- <property name="left-attach">1</property>
- <property name="top-attach">0</property>
- </packing>
</child>
<child>
<object id="quit" class="GtkButton">
<property name="label">Quit</property>
+ <layout>
+ <property name="left-attach">0</property>
+ <property name="top-attach">1</property>
+ <property name="column-span">2</property>
+ </layout>
</object>
- <packing>
- <property name="left-attach">0</property>
- <property name="top-attach">1</property>
- <property name="width">2</property>
- </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]