[gnome-games/wip/exalm/libhandy: 56/58] ui: Use HdyColumn in search bar
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/libhandy: 56/58] ui: Use HdyColumn in search bar
- Date: Wed, 12 Sep 2018 11:55:55 +0000 (UTC)
commit 880e49ec29d3b5e96d0c75819d5c867a08654450
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Jul 23 22:20:53 2018 +0500
ui: Use HdyColumn in search bar
data/ui/search-bar.ui | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/search-bar.ui b/data/ui/search-bar.ui
index 3416d49f..baa0eff1 100644
--- a/data/ui/search-bar.ui
+++ b/data/ui/search-bar.ui
@@ -4,11 +4,17 @@
<template class="GamesSearchBar" parent="GtkSearchBar">
<property name="visible">True</property>
<child>
- <object class="GtkSearchEntry" id="entry">
+ <object class="HdyColumn" type-func="hdy_column_get_type">
<property name="visible">True</property>
- <property name="width-chars">40</property>
- <signal name="search-changed" handler="on_search_changed"/>
- <signal name="activate" handler="on_search_activated"/>
+ <property name="hexpand">True</property>
+ <property name="maximum_width">600</property>
+ <child>
+ <object class="GtkSearchEntry" id="entry">
+ <property name="visible">True</property>
+ <signal name="search-changed" handler="on_search_changed"/>
+ <signal name="activate" handler="on_search_activated"/>
+ </object>
+ </child>
</object>
</child>
</template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]