gtk2/gtk/ui/gtksearchbar.ui
Matthias Clasen e9e9dfade6 GtkSearchBar: Don't vexpand
It turns out that setting vexpand to its default value has
side-effects that we need.

https://bugzilla.gnome.org/show_bug.cgi?id=751447
2015-06-25 07:00:13 -04:00

83 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<!-- interface-requires gtk+ 3.10 -->
<template class="GtkSearchBar" parent="GtkBin">
<property name="app_paintable">True</property>
<child>
<object class="GtkRevealer" id="revealer">
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="vexpand">False</property>
<child>
<object class="GtkBox" id="tool_box">
<property name="visible">True</property>
<property name="border_width">6</property>
<property name="spacing">6</property>
<child>
<object class="GtkBox" id="box_left">
<property name="visible">True</property>
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
</object>
<packing>
<property name="expand">True</property>
</packing>
</child>
<child>
<object class="GtkBox" id="box_center">
<property name="visible">True</property>
<property name="halign">center</property>
<property name="orientation">vertical</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="box_right">
<property name="visible">True</property>
<property name="halign">end</property>
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="close_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="relief">none</property>
<style>
<class name="raised"/>
<class name="close"/>
</style>
<child>
<object class="GtkImage" id="close_image">
<property name="visible">True</property>
<property name="icon_size">1</property>
<property name="icon_name">window-close-symbolic</property>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
</packing>
</child>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkSizeGroup" id="sizegroup">
<property name="mode">both</property>
<widgets>
<widget name="box_left"/>
<widget name="box_right"/>
</widgets>
</object>
</interface>