Hey Joseph,

2010/3/15 Joseph VanAndel <[email protected]>:
> Using Wt 3.1.1b, I'm building a dialog, using a WGridLayout.
> How do I get the checkbox for 'Indexed_Beams' to be displayed on the same 
> line as its label?

This needs to be done by configuring the checkbox with the CSS
property 'white-space: nowrap'.
In retrospect, I think WCheckBox should have this setting by default.

Unfortunately, because of the way checkbox is implemented, there is
currently not even an easy way to set this CSS property, unless by
wrapping the checkbox in a div (WContainerWidget) and setting the CSS
style on that class.

Thus: it is a bug, WCheckBox should behave properly by default, and we
need to make sure that checkbox listens correctly to CSS hints. It
will be fixed soon.

Regards,
koen

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to