[gnome-software/1589-safety-dialog-auditable-code-label-reflows-too-soon] gs-context-dialog-row: Change wrapping mode on the description label



commit d13898eca522bfc6a30998d8bb417201a60c04e1
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 31 11:34:25 2022 +0100

    gs-context-dialog-row: Change wrapping mode on the description label
    
    gtk 4.6.0 introduces new property "natural-wrap-mode", whose default
    value causes too early wrapping, thus change it to "none" mode, to
    preserve previous behavior on this place.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1589

 src/gs-context-dialog-row.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gs-context-dialog-row.ui b/src/gs-context-dialog-row.ui
index 98c10436c..43deca35e 100644
--- a/src/gs-context-dialog-row.ui
+++ b/src/gs-context-dialog-row.ui
@@ -69,6 +69,7 @@
               <object class="GtkLabel" id="description">
                 <!-- this is a placeholder: the text is actually set in code -->
                 <property name="label">Needs 150 MB of additional system downloads</property>
+                <property name="natural-wrap-mode">none</property>
                 <property name="wrap">True</property>
                 <property name="xalign">0</property>
                 <style>


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