diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-22 13:31:16 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-22 15:15:50 -0400 |
commit | 6c19a8352ff2d99fdd2d57c634cc753fe6bbf2e2 (patch) | |
tree | 0e784892a53d5827ded8519b5cf383d79a7f8162 | |
parent | e3df89b5248434c41dacc27aa32c492f8ff98ce7 (diff) | |
download | gtk+-css-line-height2.tar.gz |
gtk-demo: Add a line height democss-line-height2
Add an example for widely spaced text to the markup demo.
-rw-r--r-- | demos/gtk-demo/markup.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/gtk-demo/markup.txt b/demos/gtk-demo/markup.txt index c850fd8c0b..9e42a399a6 100644 --- a/demos/gtk-demo/markup.txt +++ b/demos/gtk-demo/markup.txt @@ -18,3 +18,6 @@ Shortcuts: <tt>Monospace</tt> – <b>Bold</b> – <i>Italic</i> – <big>Big</bi <span allow_breaks="false">A</span> hyphenation algorithm is a set of rules, especially one codified for implementation in a computer program, that decides at which points a word can be broken over two lines with a hyphen. For example, a hyphenation algorithm might decide that impeachment can be broken as <span allow_breaks="false">impeach‧ment</span> or <span allow_breaks="false">im‧peachment</span> but not <span allow_breaks="false">impe‧achment.</span> <span insert_hyphens="false">one/two three/four five/six seven/eight nine/ten</span> + +<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> |