[gnome-software: 1/4] overview-page: Set the clamp's tightening threshold




commit 429a005825c45371d9ce8f494cf9358d2e29eb7c
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Aug 10 13:36:31 2021 +0200

    overview-page: Set the clamp's tightening threshold
    
    This will make the window's content touch the borders below 600px
    instead of the default 400px. This is needed to make some font smaller
    below this threshold by using the clamp.small selector.

 src/gs-overview-page.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gs-overview-page.ui b/src/gs-overview-page.ui
index 77a428b22..a0ee15516 100644
--- a/src/gs-overview-page.ui
+++ b/src/gs-overview-page.ui
@@ -74,6 +74,7 @@
                       <object class="HdyClamp">
                         <property name="visible">True</property>
                         <property name="maximum-size">1000</property>
+                        <property name="tightening-threshold">600</property>
                         <child>
                           <object class="GtkBox" id="box_overview">
                             <property name="visible">True</property>


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