Commit 39218978 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

performance-view: Make the search bar adaptive

Make the search bar a HdySearchBar to make it adaptive.
parent 4abbc6e1
......@@ -30,14 +30,22 @@
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchBar" id="search_bar">
<property name="visible">True</property>
<object class="HdySearchBar" id="search_bar">
<property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<object class="HdyColumn">
<property name="visible">True</property>
<property name="width-request">350</property>
<signal name="search-changed" handler="on_search_entry_changed"/>
<property name="hexpand">True</property>
<property name="maximum-width">400</property>
<property name="linear-growth-width">300</property>
<child>
<object class="GtkSearchEntry" id="search_entry">
<property name="visible">True</property>
<property name="hexpand">True</property>
<signal name="search-changed" handler="on_search_entry_changed"/>
</object>
</child>
</object>
</child>
</object>
......
......@@ -32,7 +32,7 @@ namespace Usage
private Gtk.Box performance_content;
[GtkChild]
private Gtk.SearchBar search_bar;
private Hdy.SearchBar search_bar;
[GtkChild]
private Gtk.SearchEntry search_entry;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment