Monday, 18 February 2013

swt nothing display in ScrolledComposite


the key thing is:

//add this line
composite
.setSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));


http://stackoverflow.com/questions/10338056/swt-use-gridlayout-in-scrolled-composite


and you can see this for more:
http://stackoverflow.com/questions/961545/swt-nested-layouts-with-scrolledcomposite-exceeds-available-space

No comments:

Post a comment