[gtk/matthiasc/for-master: 2/9] gtk-demo: Visual fixes to the model button demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 2/9] gtk-demo: Visual fixes to the model button demo
- Date: Sat, 28 Mar 2020 04:09:02 +0000 (UTC)
commit bc2c341d604f5f4b387de7e04fdf243fa85082e1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 27 16:38:06 2020 -0400
gtk-demo: Visual fixes to the model button demo
demos/gtk-demo/modelbutton.ui | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/demos/gtk-demo/modelbutton.ui b/demos/gtk-demo/modelbutton.ui
index 455b2d9feb..8f0528f761 100644
--- a/demos/gtk-demo/modelbutton.ui
+++ b/demos/gtk-demo/modelbutton.ui
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
+ <property name="resizable">0</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="show-title-buttons">1</property>
@@ -36,12 +37,11 @@
</child>
</object>
<object class="GtkPopover" id="thing_a">
+ <style>
+ <class name="menu"/>
+ </style>
<child>
<object class="GtkBox">
- <property name="margin-start">10</property>
- <property name="margin-end">10</property>
- <property name="margin-top">10</property>
- <property name="margin-bottom">10</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkModelButton">
@@ -68,14 +68,12 @@
</child>
</object>
<object class="GtkPopover" id="thing_b">
+ <style>
+ <class name="menu"/>
+ </style>
<child>
<object class="GtkBox">
- <property name="margin-start">10</property>
- <property name="margin-end">10</property>
- <property name="margin-top">10</property>
- <property name="margin-bottom">10</property>
<property name="orientation">vertical</property>
- <property name="spacing">10</property>
<child>
<object class="GtkModelButton">
<property name="action-name">win.chocolate</property>
@@ -101,14 +99,12 @@
</child>
</object>
<object class="GtkPopover" id="thing_c">
+ <style>
+ <class name="menu"/>
+ </style>
<child>
<object class="GtkBox">
- <property name="margin-start">10</property>
- <property name="margin-end">10</property>
- <property name="margin-top">10</property>
- <property name="margin-bottom">10</property>
<property name="orientation">vertical</property>
- <property name="spacing">10</property>
<child>
<object class="GtkModelButton">
<property name="text">Hammer</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]