forked from enlightenment/www-content
Wiki page label changed with summary [] by Pierre Couderc
This commit is contained in:
parent
15f2b7e616
commit
2a1e0aa2a1
|
@ -1,6 +1,6 @@
|
||||||
==== Simple Text ====
|
==== Simple Text ====
|
||||||
|
|
||||||
//**__Basic text__**//
|
**Basic text**
|
||||||
|
|
||||||
Creating a label object, a widget to display text, with simple html-like
|
Creating a label object, a widget to display text, with simple html-like
|
||||||
markup:
|
markup:
|
||||||
|
@ -16,7 +16,7 @@ markup:
|
||||||
evas_object_show(label_text);
|
evas_object_show(label_text);
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
//**__Sliding text__**//
|
**Sliding text**
|
||||||
|
|
||||||
If your text is too long, you can have it set to slide. The duration of the
|
If your text is too long, you can have it set to slide. The duration of the
|
||||||
slide is to be set: it is set to five seconds in the following example. You
|
slide is to be set: it is set to five seconds in the following example. You
|
||||||
|
@ -49,7 +49,7 @@ can also have several styles:
|
||||||
|
|
||||||
If needed, you can respond to end of a slide thanks to the slide,end event.
|
If needed, you can respond to end of a slide thanks to the slide,end event.
|
||||||
|
|
||||||
//**__Marker text__**//
|
**Marker text**
|
||||||
|
|
||||||
A marker is a text that is centered and bold by default. As the default color
|
A marker is a text that is centered and bold by default. As the default color
|
||||||
is white, we will also set a color, blue in this example.
|
is white, we will also set a color, blue in this example.
|
||||||
|
@ -59,7 +59,7 @@ elm_object_style_set(label, "marker");
|
||||||
evas_object_color_set(label, 0, 0, 255, 255);
|
evas_object_color_set(label, 0, 0, 255, 255);
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
//**__Styling the text__**//
|
**Styling the text**
|
||||||
|
|
||||||
You can apply basic styles to the text. If, for instance, you would like to
|
You can apply basic styles to the text. If, for instance, you would like to
|
||||||
have a bold text, you can do as follows.
|
have a bold text, you can do as follows.
|
||||||
|
|
Loading…
Reference in New Issue