summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 12:17:32 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 15:57:50 -0400
commitbf21df41955c64d2b8671a58c8e5a74aaf7b51c3 (patch)
tree41b162a6d071b9cb7efeb9239386163bbf665dff
parent417b3f9c6b849a833c2ff71890ba15b25b5b07b7 (diff)
downloadgtk+-bf21df41955c64d2b8671a58c8e5a74aaf7b51c3.tar.gz
Add an example for text transforms
Show some transformed text in the markup demo.
-rw-r--r--demos/gtk-demo/markup.txt2
1 files changed, 2 insertions, 0 deletions
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>