aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/elementary/efl_canvas_layout_text.edc
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/efl_canvas_layout_text.edc')
-rw-r--r--src/examples/elementary/efl_canvas_layout_text.edc48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/examples/elementary/efl_canvas_layout_text.edc b/src/examples/elementary/efl_canvas_layout_text.edc
new file mode 100644
index 0000000000..401ad0c255
--- /dev/null
+++ b/src/examples/elementary/efl_canvas_layout_text.edc
@@ -0,0 +1,48 @@
+efl_version: 1 21;
+collections {
+ styles {
+ style { name: "tbstyle";
+ base: "";
+ }
+ }
+ group { name: "test";
+ parts {
+ textblock { "text"; nomouse;
+ desc { "default";
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ text {
+ style: "tbstyle";
+ font: FN; size: 10;
+ align: 0.5 0.5;
+ }
+ visible: 1;
+ }
+ }
+ }
+ }
+ group { name: "test2";
+ parts {
+ rect { "rect"; nomouse; repeat; precise;
+ desc { "default";
+ color: 255 0 0 255;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.5 1;
+ }
+ }
+ textblock { "text"; nomouse;
+ desc { "default";
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 1.0 1.0;
+ //fixed: 1 1;
+ text {
+ style: "tbstyle";
+ font: FN; size: 10;
+ align: 0.5 0.5;
+ }
+ visible: 1;
+ }
+ }
+ }
+ }
+}