[gtk+] gtk-demo: Tweak the markup demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: Tweak the markup demo
- Date: Thu, 30 Jul 2015 01:43:48 +0000 (UTC)
commit 94120094ab14653b24d0d9f858604fbefaa455cd
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 29 19:05:25 2015 -0400
gtk-demo: Tweak the markup demo
demos/gtk-demo/markup.c | 2 +-
demos/gtk-demo/markup.txt | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/demos/gtk-demo/markup.c b/demos/gtk-demo/markup.c
index 8ac49c1..2934a52 100644
--- a/demos/gtk-demo/markup.c
+++ b/demos/gtk-demo/markup.c
@@ -25,7 +25,7 @@ do_markup (GtkWidget *do_widget)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
- gtk_window_set_default_size (GTK_WINDOW (window), 450, 400);
+ gtk_window_set_default_size (GTK_WINDOW (window), 450, 450);
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroyed), &window);
diff --git a/demos/gtk-demo/markup.txt b/demos/gtk-demo/markup.txt
index 2ad2431..feece2c 100644
--- a/demos/gtk-demo/markup.txt
+++ b/demos/gtk-demo/markup.txt
@@ -1,15 +1,16 @@
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>
+
Colorful <span underline="low" underline-color="blue"><span underline="double"
underline-color="red">under</span>lines</span>
Colorful <span strikethrough="true" strikethrough-color="magenta">strikethroughs</span>
-Text <span color="gray">c<span color="green">o</span>l<span color="tomato">o</span>rs</span>
-
-More superscripts: 2<span rise="8000" size="smaller">2<span rise="14000" size="smaller">2</span></span>
+Superscripts and subscripts: 𝜀<span rise="-6000" size="x-small" font_desc="italic">0</span> = 𝜔<span
rise="8000" size="smaller">𝜔<span rise="14000" size="smaller">𝜔<span rise="20000">.<span rise="23000">.<span
rise="26000">.</span></span></span></span></span>
<span letter_spacing="3000">Letterspacing</span>
-OpenType font features such as ligatures: <span font_desc="sans regular" font_features="dlig=0">feast</span>
versus <span font_desc="sans regular" font_features="dlig=1">feast</span>
+OpenType font features: <span font_desc="sans regular" font_features="dlig=0">feast</span> versus <span
font_desc="sans regular" font_features="dlig=1">feast</span>
+
Shortcuts: <tt>Monospace</tt> – <b>Bold</b> – <i>Italic</i> – <big>Big</big> – <small>Small</small> –
<u>Underlined</u> – <s>Strikethrough</s> – Super<sup>script</sup> – Sub<sub>script</sub>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]