aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/elementary/efl_canvas_layout_text.edc
blob: 401ad0c255c389e3bb7b12cc7bb84e3b3da44263 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
                }
            }
        }
    }
}