[gnome-games] ui: Replace HdyColumn with HdyClamp
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Replace HdyColumn with HdyClamp
- Date: Wed, 17 Jun 2020 12:37:53 +0000 (UTC)
commit 0082899818964a455177a15c68bf8d3cca346d0c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Jun 17 17:36:47 2020 +0500
ui: Replace HdyColumn with HdyClamp
See https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/490
data/ui/preferences-page.ui | 4 +---
data/ui/search-bar.ui | 6 +++---
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/preferences-page.ui b/data/ui/preferences-page.ui
index bb77241a..2b299cfc 100644
--- a/data/ui/preferences-page.ui
+++ b/data/ui/preferences-page.ui
@@ -15,11 +15,9 @@
<property name="visible">True</property>
<property name="vexpand">True</property>
<child>
- <object class="HdyColumn">
+ <object class="HdyClamp">
<property name="visible">True</property>
<property name="expand">True</property>
- <property name="maximum-width">600</property>
- <property name="linear-growth-width">300</property>
<child>
<object class="GtkBox" id="box">
<property name="visible">True</property>
diff --git a/data/ui/search-bar.ui b/data/ui/search-bar.ui
index 2eed478f..5d35d1d0 100644
--- a/data/ui/search-bar.ui
+++ b/data/ui/search-bar.ui
@@ -8,10 +8,10 @@
<property name="visible">True</property>
<property name="search-mode-enabled" bind-source="GamesSearchBar"
bind-property="search-mode-enabled" bind-flags="sync-create|bidirectional"/>
<child>
- <object class="HdyColumn">
+ <object class="HdyClamp">
<property name="visible">True</property>
- <property name="maximum-width">400</property>
- <property name="linear-growth-width">300</property>
+ <property name="maximum-size">400</property>
+ <property name="tightening-threshold">300</property>
<child>
<object class="GtkSearchEntry" id="entry">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]