[gnome-weather] window: wrap long text to allow smaller window width
- From: Vitaly Dyachkov <vitalydyachkov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] window: wrap long text to allow smaller window width
- Date: Wed, 30 Sep 2020 16:08:23 +0000 (UTC)
commit 77a4778da0f06f4667e00dbbdf82629e494f5868
Author: Arnaud Ferraris <arnaud ferraris collabora com>
Date: Tue Sep 22 13:47:10 2020 +0200
window: wrap long text to allow smaller window width
The `search-nereby-location-label` widget has a rather long text (and
can be even longer depending on translations), which results in a quite
large window size.
On mobile devices we want to make the window as narrow as possible (<=
360px), which requires wrapping this label.
data/window.ui | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/data/window.ui b/data/window.ui
index 4d67d48..24218b9 100644
--- a/data/window.ui
+++ b/data/window.ui
@@ -125,6 +125,7 @@
<property name="halign">center</property>
<property name="valign">center</property>
<property name="vexpand">False</property>
+ <property name="wrap">True</property>
<property name="label" translatable="yes">To see weather information, enter the name of
a city.</property>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]