So the conclusion is ...
"text.min: 1" increase the text infinitely even though relative is specified.
"text.max: 1" limit the text for relative which is specified.
In my case,
text.min: 0 1;
text.max: 1 0;
text.align: 0 0.5;
So the text is stretched from it's left relative to right relative.
Tha
One more thing to advice.
You don't need to create c file to test edc.
Use edje_watch + edje_viewer.
That'll help you a lot and reduce your time.
Daniel Juyung Seo (SeoZ)
On Tue, Sep 4, 2012 at 3:59 AM, Daniel Juyung Seo wrote:
> Hello, Bluezery.
> This is easy to solve.
> Do not set text.min t
Hello, Bluezery.
This is easy to solve.
Do not set text.min to 1. It will refuse ellipsis.
What you need here is to restrict text part's area by using another rect part.
Find "text.limit" part in my attachment.
You can easily change my code to fit your needs.
Thanks.
Daniel Juyung Seo (SeoZ)
O
Dear all,
I have a question about text part's min & max in edje.
If setting text part's min as 1, min value of this part is same as
text string length.
But I cannot stop to increase this part. If the text string is
infinite, the part increases infinitely.
I just want to increase the text part with