-
14 Jul 2009 12:01 PM #1
[FIXED] [2.0] Dialog flickers in FF
[FIXED] [2.0] Dialog flickers in FF
Hi,
I have a button that opens up a dialog. In FF 3.5, the initial rendering is noticeable and not seamless. (In IE and Chrome, this doesn't occur). You can see the window expanding and centered in 1 second.
Environment:
Firefox 3.5 (i did not test on 3.0)
GXT 2.0
Complete code below:
Code:public class Test implements EntryPoint { public void onModuleLoad() { final Dialog dialog = new Dialog(); dialog.setBodyBorder(false); dialog.setHeading("Dialog"); dialog.setWidth(600); dialog.setHeight(250); dialog.setHideOnButtonClick(true); dialog.setModal(true); dialog.add(new DualList()); Button button = new Button("ShowMe", new SelectionListener<ButtonEvent>() { @Override public void componentSelected(ButtonEvent buttonEvent) { dialog.show(); } }); RootPanel.get().add(button); } class DualList extends LayoutContainer { @Override protected void onRender(Element parent, int index) { super.onRender(parent, index); FormPanel panel = new FormPanel(); panel.setHeading("Drag and Drop Lists"); final DualListField lists = new DualListField(); panel.add(lists, new FormData("98%")); panel.setWidth(550); add(panel); } } }
-
15 Jul 2009 6:20 AM #2
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote