Community
Participate
Working Groups
Reproducible with FileDialog demo. Remove the workaround in FileDialog#createAddSelectorButton - replace: -------- uploadPanel.setEnabled( false ); uploadPanel.setVisible( false ); uploadScroller.getDisplay().timerExec( 10, new Runnable() { public void run() { uploadPanel.setEnabled( true ); uploadPanel.setVisible( true ); uploadScroller.showControl( addFileSelectorButton ); } } ); -------- with: uploadScroller.showControl( addFileSelectorButton ); -------- Run FileDialog demo from the incubator. Click on "Add multiple files" button - dialog is opened. Click on the "+" button to add more files. When the new upload file is added the ScrolledComposite should scroll to make the plus button visible again, but it does not work. This happens, because ScrolledComposite#setVBarSelection has been rendered before the new content and updated dimensions.
Changing the order in which the widgets changes are rendered would not solve the problem. What counts is when the changes are done in DOM.