On Wed, 26 Dec 2007 00:29:27 +0100 "Thomas Gstädtner" <[EMAIL PROTECTED]> babbled:
> Hello people, > > I'm currently working on my first interface in edje and guess I found a bug > in the edje-textblock. > As I want to do multi-line captions on buttons, I want to have the textblock > centered on the button-graphics. > I assumed that the valign-property in the style-block was what I wanted, but > neither valign=center nor valign=0.5 works. > Horizontal align works perfectly. > So I also tried to set the align property for the part itself (even if it > should be 0.5 0.5 by default) what didn't work, too. > As the valign style-property seems to do nothing at all, I assume that's a > bug. > Can somebody confirm and fix this? :) valign in a textblock is the alignment WITHIN a line of text - so imagine u have a 30point font and a 8point fount on the same line - valign controls where the 8point font is aligned. align SHOULD work if you set the min: 1 1; (ie make the minimum size of the part controlled by the "minimum" size of the text itself. > Greetings, > > thomasg > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel