[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Using Forms to view and edit properties

Wim Jongman wrote:
Does this help?

ec.addExpansionListener(new ExpansionAdapter() {
public void expansionStateChanged(ExpansionEvent e) {
form.reflow(true);
}
});




I didn't try the form.reflow() method. My main problem stemmed from repainting--when I forced it to repaint, the actual components had the proper white background but the unused space in the parent was the standard dialog color. In any event, I got it to work with standard SWT. I also ran into a problem when I wanted to put a slider on the form. It probably wasn't intended to be used in the Forms so it didn't look right and wouldn't toolkit.adapt() properly either. So I'll probably stick with standard SWT.



Thanks for the suggestion! Josh