Community
Participate
Working Groups
If you have a radio button inside a scrolled composite, scrolling with mouse wheel does not work if radio button is hovered. public void createPartControl(Composite parent) { parent.setLayout( new FillLayout() ); ScrolledForm form = new ScrolledForm(parent); Composite bodyComp = form.getBody(); bodyComp.setLayout(new GridLayout()); bodyComp.setLayoutData(new GridData(GridData.FILL_BOTH)); Composite composite = new Composite(bodyComp, SWT.NONE); composite.setLayout(new GridLayout()); composite.setLayoutData(new GridData(GridData.FILL_BOTH)); for(int i = 0; i < 30; i++) { Composite temp = new Composite(composite, SWT.NONE); temp.setLayout(new GridLayout(4, false)); temp.setLayoutData(new GridData(GridData.FILL_BOTH)); for(int j = 0; j < 4; j++) { Button btn = new Button(temp, SWT.RADIO); btn.setText(j + "-" + i); btn.pack(); } } }
Fixed in CVS HEAD.