[gnome-software/gnome-41: 1/2] gs-app-context-bar: Wrap tiles' title
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-41: 1/2] gs-app-context-bar: Wrap tiles' title
- Date: Mon, 29 Nov 2021 07:49:48 +0000 (UTC)
commit 8d438dee27c0f570fe7bc3fa01461e5697de5832
Author: Milan Crha <mcrha redhat com>
Date: Fri Nov 26 10:11:47 2021 +0100
gs-app-context-bar: Wrap tiles' title
Some locales can have longer text, which may force wider content
request than the AdwClamp's maximum size without wrapping.
(Non-trivial backport to gnome-41.)
Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1546
src/gs-app-context-bar.ui | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/gs-app-context-bar.ui b/src/gs-app-context-bar.ui
index f3a839ab9..b6681f34b 100644
--- a/src/gs-app-context-bar.ui
+++ b/src/gs-app-context-bar.ui
@@ -62,6 +62,7 @@
<!-- this is a placeholder: the text is actually set in code -->
<property name="label">Download Size</property>
<property name="visible">True</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<accessibility>
<relation target="storage_tile_lozenge_content" type="label-for"/>
@@ -138,6 +139,7 @@
<!-- this is a placeholder: the text is actually set in code -->
<property name="label">Safe</property>
<property name="visible">True</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<accessibility>
<relation target="safety_tile_lozenge_content" type="label-for"/>
@@ -224,6 +226,7 @@
<!-- this is a placeholder: the text is actually set in code -->
<property name="label">Adaptive</property>
<property name="visible">True</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<accessibility>
<relation target="hardware_support_tile_lozenge_content" type="label-for"/>
@@ -301,6 +304,7 @@
<!-- this one’s not a placeholder -->
<property name="label" translatable="yes">Age Rating</property>
<property name="visible">True</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<accessibility>
<relation target="age_rating_tile_lozenge_content" type="label-for"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]