EDJE TEXT wrapping

EDJE TEXT wrapping

BY 04 Jun 2015 Native Application Development

Hello guys,

So i have TEXT part in EDJE and some long text that should be posted in 2 lines.

When i am doing like this
      part
      { name: “test”; type: TEXT;
        description { state: “default” 0.0;
                      rel1 { relative: 0.0 0.0; }
                      rel2 { relative: 1.0 1.0; }
                      color: 145 151 163 255;
                      text { font: “TizenSans:style=Medium”; size: 18; text: “very very very very very long text”; }
                      min: 250 50;
                      max: 250 50;
                    }
      }

The text will be wrapped with “…” when it reaches the end of the container with 250 px.

I need to put this text in 2 lines. So wrap first line with 250 px and write second line and only then wrap it with “…” if needed/

Is it possible to do in EDJE or maybe i should use code and how can i do this feature?

Written by