aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/edje/src/examples/text.edc
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/edje/src/examples/text.edc')
-rw-r--r--libraries/edje/src/examples/text.edc68
1 files changed, 68 insertions, 0 deletions
diff --git a/libraries/edje/src/examples/text.edc b/libraries/edje/src/examples/text.edc
new file mode 100644
index 0000000..257a078
--- /dev/null
+++ b/libraries/edje/src/examples/text.edc
@@ -0,0 +1,68 @@
1collections {
2 group {
3 name: "sel_group";
4 parts {
5 part {
6 name: "rect";
7 type: RECT;
8 description {
9 state: "default" 0.0;
10 color: 0 255 0 255; /* green */
11 rel1.relative: 0.0 0.0;
12 rel2.relative: 1.0 1.0;
13 }
14 }
15 }
16 }
17 group {
18 name: "example_group";
19 max: 500 500;
20 min: 50 50;
21
22 styles {
23 style {
24 name: "textblock_style";
25 base: "font=Sans font_size=22 color=#600 wrap=word";
26 tag: "br" "\n";
27 tag: "hilight" "+ font_weight=Bold";
28 tag: "b" "+ font_weight=Bold";
29 tag: "tab" "\t";
30 }
31 }
32 parts {
33 part {
34 name: "part_one";
35 type: TEXT;
36 description {
37 min: 50 50;
38 state: "default" 0.0;
39 color: 0 0 255 255; /* blue */
40 rel1.relative: 0.0 0.0;
41 rel2.relative: 1.0 0.5;
42 text {
43 font: "arial";
44 size: 22;
45 min: 1 1;
46 }
47 }
48 }
49 part {
50 name: "part_two";
51 type: TEXTBLOCK;
52 select_mode: EXPLICIT;
53 source: "sel_group";
54 entry_mode: PLAIN;
55 description {
56 min: 50 50;
57 state: "default" 0.0;
58 rel1.relative: 0.0 0.5;
59 rel2.relative: 1.0 1.0;
60 text {
61 style: "textblock_style";
62 min: 1 1;
63 }
64 }
65 }
66 }
67 }
68}