[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: size of a composite

give ComputeSize a try: composite.computeSize(SWT.DEFAULT, SWT.DEFAULT)


Karei wrote:
I'm simply trying to get the size of a composite. I tried getBounds(), getClientArea() and getSize() but all of their ints (eg rect.width) returns 0. Does anyone know what I'm doing wrong?

Thanks in advance.