[gnome-software/1546-app-page-doesn-t-shrink-to-fit-the-window-size] gs-app-context-bar: Wrap tiles' title
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1546-app-page-doesn-t-shrink-to-fit-the-window-size] gs-app-context-bar: Wrap tiles' title
- Date: Fri, 26 Nov 2021 09:15:01 +0000 (UTC)
commit 2f9f0cfbd7ef8a55e870e2ca46edffc99d35c830
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.
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 5ed72413e..241cb721c 100644
--- a/src/gs-app-context-bar.ui
+++ b/src/gs-app-context-bar.ui
@@ -49,6 +49,7 @@
<object class="GtkLabel" id="storage_tile_title">
<!-- this is a placeholder: the text is actually set in code -->
<property name="label">Download Size</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<style>
<class name="heading"/>
@@ -108,6 +109,7 @@
<object class="GtkLabel" id="safety_tile_title">
<!-- this is a placeholder: the text is actually set in code -->
<property name="label">Safe</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<style>
<class name="heading"/>
@@ -176,6 +178,7 @@
<object class="GtkLabel" id="hardware_support_tile_title">
<!-- this is a placeholder: the text is actually set in code -->
<property name="label">Adaptive</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<style>
<class name="heading"/>
@@ -236,6 +239,7 @@
<object class="GtkLabel" id="age_rating_tile_title">
<!-- this one’s not a placeholder -->
<property name="label" translatable="yes">Age Rating</property>
+ <property name="wrap">True</property>
<property name="xalign">0.5</property>
<style>
<class name="heading"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]