forked from AuroraMiddleware/gtk
example: Make search button square
The image-button style class takes care of it.
This commit is contained in:
parent
fcba75c2ba
commit
35f4243315
@ -37,6 +37,9 @@
|
|||||||
<object class="GtkToggleButton" id="search">
|
<object class="GtkToggleButton" id="search">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">False</property>
|
||||||
|
<style>
|
||||||
|
<class name="image-button"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="search-icon">
|
<object class="GtkImage" id="search-icon">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
<object class="GtkToggleButton" id="search">
|
<object class="GtkToggleButton" id="search">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">False</property>
|
||||||
|
<style>
|
||||||
|
<class name="image-button"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="search-icon">
|
<object class="GtkImage" id="search-icon">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
<object class="GtkToggleButton" id="search">
|
<object class="GtkToggleButton" id="search">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">False</property>
|
||||||
|
<style>
|
||||||
|
<class name="image-button"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="search-icon">
|
<object class="GtkImage" id="search-icon">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -40,6 +40,9 @@
|
|||||||
<object class="GtkToggleButton" id="search">
|
<object class="GtkToggleButton" id="search">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="sensitive">False</property>
|
<property name="sensitive">False</property>
|
||||||
|
<style>
|
||||||
|
<class name="image-button"/>
|
||||||
|
</style>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="search-icon">
|
<object class="GtkImage" id="search-icon">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user