diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-04-17 12:37:51 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-12 07:29:49 -0400 |
commit | ce1938651af0bd228a53fb8bc874282862086015 (patch) | |
tree | 8560a43090195a701b556769a07457945c0f0635 | |
parent | 063aa29f4b410c09625808e5d8c533ad2e83b7ca (diff) | |
download | gtk+-ce1938651af0bd228a53fb8bc874282862086015.tar.gz |
example: Make search button square
The image-button style class takes care of it.
-rw-r--r-- | examples/application10/window.ui | 3 | ||||
-rw-r--r-- | examples/application7/window.ui | 3 | ||||
-rw-r--r-- | examples/application8/window.ui | 3 | ||||
-rw-r--r-- | examples/application9/window.ui | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/examples/application10/window.ui b/examples/application10/window.ui index c91fb122ff..1c9eeab326 100644 --- a/examples/application10/window.ui +++ b/examples/application10/window.ui @@ -37,6 +37,9 @@ <object class="GtkToggleButton" id="search"> <property name="visible">True</property> <property name="sensitive">False</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="search-icon"> <property name="visible">True</property> diff --git a/examples/application7/window.ui b/examples/application7/window.ui index 16e71a9698..589acd52ce 100644 --- a/examples/application7/window.ui +++ b/examples/application7/window.ui @@ -23,6 +23,9 @@ <object class="GtkToggleButton" id="search"> <property name="visible">True</property> <property name="sensitive">False</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="search-icon"> <property name="visible">True</property> diff --git a/examples/application8/window.ui b/examples/application8/window.ui index 0513fe9842..36a8ca4ced 100644 --- a/examples/application8/window.ui +++ b/examples/application8/window.ui @@ -23,6 +23,9 @@ <object class="GtkToggleButton" id="search"> <property name="visible">True</property> <property name="sensitive">False</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="search-icon"> <property name="visible">True</property> diff --git a/examples/application9/window.ui b/examples/application9/window.ui index 1735f0c0f9..d3f54d1780 100644 --- a/examples/application9/window.ui +++ b/examples/application9/window.ui @@ -40,6 +40,9 @@ <object class="GtkToggleButton" id="search"> <property name="visible">True</property> <property name="sensitive">False</property> + <style> + <class name="image-button"/> + </style> <child> <object class="GtkImage" id="search-icon"> <property name="visible">True</property> |