diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-04-17 12:39:07 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-12 07:29:55 -0400 |
commit | 274a8d3774181eaccd8bc842139e62fc72aff0b9 (patch) | |
tree | c43950218e08bc8da268b526fa1a055359ad899a | |
parent | ce1938651af0bd228a53fb8bc874282862086015 (diff) | |
download | gtk+-274a8d3774181eaccd8bc842139e62fc72aff0b9.tar.gz |
example: Make gears button square
Another application of image-button.
-rw-r--r-- | examples/application10/window.ui | 3 | ||||
-rw-r--r-- | examples/application8/window.ui | 3 | ||||
-rw-r--r-- | examples/application9/window.ui | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/examples/application10/window.ui b/examples/application10/window.ui index 1c9eeab326..97a502affc 100644 --- a/examples/application10/window.ui +++ b/examples/application10/window.ui @@ -55,6 +55,9 @@ <child> <object class="GtkMenuButton" id="gears"> <property name="visible">True</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="gears-icon"> <property name="visible">True</property> diff --git a/examples/application8/window.ui b/examples/application8/window.ui index 36a8ca4ced..674327d7a4 100644 --- a/examples/application8/window.ui +++ b/examples/application8/window.ui @@ -41,6 +41,9 @@ <child> <object class="GtkMenuButton" id="gears"> <property name="visible">True</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="gears-icon"> <property name="visible">True</property> diff --git a/examples/application9/window.ui b/examples/application9/window.ui index d3f54d1780..0713c36194 100644 --- a/examples/application9/window.ui +++ b/examples/application9/window.ui @@ -58,6 +58,9 @@ <child> <object class="GtkMenuButton" id="gears"> <property name="visible">True</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="gears-icon"> <property name="visible">True</property> |