| [news.eclipse.platform.swt] Re: size of a composite |
give ComputeSize a try: composite.computeSize(SWT.DEFAULT, SWT.DEFAULT)
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.