I am trying to created a scrolled composite that has a composite with a grid layout inside.
However when I try to set the content of the scrolled composite nothing loads. This appears only to affect composites with grid layouts.
What am I doing wrong?
My Code:
CTabItem tbtmNotes = new CTabItem(tabFolder, SWT.NONE);
tbtmNotes.setText("Notes");
ScrolledComposite scrollComposite = new ScrolledComposite(tabFolder, SWT.V_SCROLL | SWT.BORDER);
tbtmNotes.setControl(scrollComposite);
scrollComposite.setContent(new hm_Composites.Comp_Animal_Notes(tabFolder, SWT.None, a));
After a bunch of fiddling I got the following to work hope it helps someone else out.