[gtk/css-line-height2: 17/17] gtk-demo: Improve markup demo




commit 474f1993c508fb79c12140b50f651d24f3ce826b
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Aug 9 11:17:48 2021 -0400

    gtk-demo: Improve markup demo
    
    The font sizes demo had the space between the font-size spans,
    causing us to have a run with just a default sized space between
    the words, which in turn leads to wobbly cursor sizes. Avoid that
    by including the space in the preceding span.

 demos/gtk-demo/markup.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/markup.txt b/demos/gtk-demo/markup.txt
index 79b857f295..c850fd8c0b 100644
--- a/demos/gtk-demo/markup.txt
+++ b/demos/gtk-demo/markup.txt
@@ -1,5 +1,5 @@
 
-Text sizes: <span size="xx-small">tiny</span> <span size="x-small">very small</span> <span 
size="small">small</span> <span size="medium">normal</span> <span size="large">large</span> <span 
size="x-large">very large</span> <span size="xx-large">huge</span>
+Text sizes: <span size="xx-small">tiny </span><span size="x-small">very small </span><span 
size="small">small </span><span size="medium">normal </span><span size="large">large </span><span 
size="x-large">very large </span><span size="xx-large">huge</span>
 
 Text <span color="gray">c<span color="green">o</span>l<span color="tomato">o</span>rs</span> and <span 
background="pink">backgrounds</span>
 


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