Hey Bastien, 2011/8/17 Bastien Amiel <[email protected]>: > Hello, > > Very simple Style question today, I would like to add borders (1px solid > black) to my layout's but i dont get how to do this.
Layouts have no 'style' information, as they only help to logically organize the layout of other widgets (with the exception of the resize handles). > I tryed to add a border style to my WLabel inside my layout, but the > border concern just the text and adapt to the label's size (and not the > 'cell' size). > > How should I do this ? You should make sure that the label is fitted within the particular cell, which requires 'active management'. This can be done by given the corresponding 'row' stretch, or use the special value of -1. See also: http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WBoxLayout.html#a7c1ec58e25d0b7add93f5f4342844db6 Regards, koen ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
