diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-04-17 12:37:51 -0700 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-04-17 22:55:39 -0400 |
commit | 35f42433153722aefb5ed7c2418c966038e1425f (patch) | |
tree | c2f21cd9e02a7442f76760cefe8cde4fe631daa9 /examples | |
parent | fcba75c2ba695a5e06c1185aee46e9d6b215c710 (diff) | |
download | gtk+-35f42433153722aefb5ed7c2418c966038e1425f.tar.gz |
example: Make search button square
The image-button style class takes care of it.
Diffstat (limited to 'examples')
-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> |