Matthew Gregory wrote:
> I am guessing you are in a VBox layout or similar? Either
>
> 1.) atom.setAllowGrowX(false);
>      atom.setAlignX("center");
> OR
>
> 2.) atom.setCenter(true);
>
> With the first one the atom will only be the size it needs to be and 
> centered.
> With the second the atom will take up the full width, but the text will 
> be centered within the atom
>   
Thanks, that did it :) I guess I've never understood the difference
between atom and label's centering :)

cheers,
skar.

-- 
--
The life so short, the craft so long to learn. 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to