[gnome-software: 1/2] feature-tile: Drop the width request




commit 5dccd0e093273ce97698d3c7651ab6e01521912c
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Thu Jul 1 09:36:14 2021 +0200

    feature-tile: Drop the width request
    
    Stops hardcoding the minimum width of the labels, as it is useless and
    prevented the pages from reaching the 360px max width required for
    smartphones.

 src/gs-feature-tile.ui | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/gs-feature-tile.ui b/src/gs-feature-tile.ui
index ac7fe131e..377a061c8 100644
--- a/src/gs-feature-tile.ui
+++ b/src/gs-feature-tile.ui
@@ -47,7 +47,6 @@
                 <property name="valign">end</property>
                 <property name="vexpand">True</property>
                 <property name="ellipsize">end</property>
-                <property name="width-request">300</property>
                 <style>
                   <class name="title-1"/>
                 </style>
@@ -60,7 +59,6 @@
                 <property name="xalign">0.5</property>
                 <property name="halign">center</property>
                 <property name="valign">start</property>
-                <property name="width-request">300</property>
                 <property name="lines">1</property>
                 <property name="max-width-chars">40</property>
                 <property name="justify">center</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]