[E-devel] Questions about text min/max in edje
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 certain maximum and if text is long, I want to use ellipsis. I used description.max but It cannot be used for this purpose. I attached an example program. In example, text part's length is same as text length (text's min is 1) and it grows from left. And red rectangle stick to right side of the text. I want to restrict the X or Y axis length of the text part. It will be my pleasure if someone help me. :) -- BRs, Kim. text_max.tar.gz Description: GNU Zip compressed data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Questions about text min/max in edje
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) On Mon, Sep 3, 2012 at 10:47 PM, Bluezery ohpo...@gmail.com wrote: 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 certain maximum and if text is long, I want to use ellipsis. I used description.max but It cannot be used for this purpose. I attached an example program. In example, text part's length is same as text length (text's min is 1) and it grows from left. And red rectangle stick to right side of the text. I want to restrict the X or Y axis length of the text part. It will be my pleasure if someone help me. :) -- BRs, Kim. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel edje_example_solution.edc Description: Binary data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Questions about text min/max in edje
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 seojuyu...@gmail.com wrote: 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) On Mon, Sep 3, 2012 at 10:47 PM, Bluezery ohpo...@gmail.com wrote: 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 certain maximum and if text is long, I want to use ellipsis. I used description.max but It cannot be used for this purpose. I attached an example program. In example, text part's length is same as text length (text's min is 1) and it grows from left. And red rectangle stick to right side of the text. I want to restrict the X or Y axis length of the text part. It will be my pleasure if someone help me. :) -- BRs, Kim. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Questions about text min/max in edje
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. Thanks very much. :D 2012/9/4 Daniel Juyung Seo seojuyu...@gmail.com: 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 seojuyu...@gmail.com wrote: 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) On Mon, Sep 3, 2012 at 10:47 PM, Bluezery ohpo...@gmail.com wrote: 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 certain maximum and if text is long, I want to use ellipsis. I used description.max but It cannot be used for this purpose. I attached an example program. In example, text part's length is same as text length (text's min is 1) and it grows from left. And red rectangle stick to right side of the text. I want to restrict the X or Y axis length of the text part. It will be my pleasure if someone help me. :) -- BRs, Kim. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- BRs, Kim. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel