[gtk/css-text-transform: 25/25] Add an example for text transforms




commit fd3d6937f991fe29b3fc7ae3beced487d10a3a0f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 22 12:17:32 2021 -0400

    Add an example for text transforms
    
    Show some transformed text in the markup demo.

 demos/gtk-demo/markup.txt | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/demos/gtk-demo/markup.txt b/demos/gtk-demo/markup.txt
index 9e42a399a6..1b39ebab43 100644
--- a/demos/gtk-demo/markup.txt
+++ b/demos/gtk-demo/markup.txt
@@ -21,3 +21,5 @@ Shortcuts: <tt>Monospace</tt> – <b>Bold</b> – <i>Italic</i> – <big>Big</bi
 
 <span line_height='1.33'>Line height: This is an example of widely spaced text. It was achieved by setting 
the line-height factor to 1.33. You can set the line-height factor to any value between 0 and 10.
 Note that the line height affects the spacing between paragraphs as well as between the wrapped lines inside 
a paragraph.</span>
+
+Transforms: <span text_transform='uppercase'>straße</span> <span text_transform='capitalize'>up, up and 
away</span>


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