PDA

View Full Version : panel size is retrieved as percentage



rnel
31 Jan 2013, 1:34 AM
Hi,

I'm trying to found out the width of a component after rendered (which is displayed with a width close to 900px), using component.width returns undefined, using component.getBody().get[View]Size([true]) i obtain this number

0.16666599999999998 but the component as displayed has a width like 900px.

Does somebody knows how to get the pixel width from that number (0.16666599999999998) ?

Thanks.

mitchellsimoens
1 Feb 2013, 1:45 PM
Have you tried component.getSize()?