[libshumate] ShumateLicense: enable text wrapping



commit 7bfb5069f397ff091f86ee5187424f091cb0941e
Author: Andy Holmes <andrew g r holmes gmail com>
Date:   Sat Oct 2 21:25:14 2021 -0700

    ShumateLicense: enable text wrapping
    
    This is especially important on smaller screens, since we don't control
    the length of the license string returned by the map source.

 shumate/shumate-license.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/shumate/shumate-license.c b/shumate/shumate-license.c
index 37f7239..20ab3ef 100644
--- a/shumate/shumate-license.c
+++ b/shumate/shumate-license.c
@@ -196,10 +196,12 @@ shumate_license_init (ShumateLicense *self)
                 "orientation", GTK_ORIENTATION_VERTICAL,
                 NULL);
   g_object_set (self->license_label,
+                "wrap",   TRUE,
                 "xalign", 1.0f,
                 NULL);
   g_object_set (self->extra_text_label,
                 "visible", FALSE,
+                "wrap",   TRUE,
                 "xalign", 1.0f,
                 NULL);
 


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