[gtk/wip/otte/inscription] xxx



commit 99b9052832d57177692583a39004a561874d75df
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jun 9 06:03:41 2022 +0200

    xxx

 gtk/gtkinscription.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkinscription.c b/gtk/gtkinscription.c
index 4305896ce3..2ecc961e19 100644
--- a/gtk/gtkinscription.c
+++ b/gtk/gtkinscription.c
@@ -430,7 +430,7 @@ gtk_inscription_allocate (GtkWidget *widget,
     {
     case GTK_INSCRIPTION_OVERFLOW_CLIP:
     case GTK_INSCRIPTION_OVERFLOW_MARQUEE:
-      pango_layout_set_height (self->layout, 0);
+      pango_layout_set_height (self->layout, -1);
       /* figure out if we're single line (clip horizontally)
        * or multiline (clip vertically):
        * If we can't fit 2 rows, we're single line.


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