Hi all, I can't provide a sample test right now, sorry. I hope the explanation is enough to someone that could fix it can check:
I have a layout inside a window as resize object. It will resize a swallow object using signals. In this swallow I place an elm_entry with scroll = TRUE, horiz = OFF, vert = AUTO. I wrote an entry style with base textblock style having: "valign=middle align=center" to show the text in the center. I have the textblock part defined as: "text { min: 0 1; max: 1 1; align: 0.5 0.5; }" whenever I set a text, it's never centered. Sometimes it's at the top, sometimes it creates scrollbars... even if the text is one or two lines in height. If I add a timer of 0.02s to call elm_entry_calc_force() it will work. If I resize the window (grow on width, height does not matter), it will fix. I can resize it back to original value and it works. Ideas, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ 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