BenDan
14 May 2009, 7:10 AM
Cheers everyone,
I am experiencing a rather strange issue with Textfields which are rendered on top of the first rows of both columns of DualListFields. This only happens in Firefox and Chrome, not in IE and Opera. However, Firefox and Chrome display the GXT Examples just fine. I noticed this behaviour at least 3 versions ago already, but it still persists for me in version 1.2.4. Here is some sample code:
LayoutContainer moduleContainer = new LayoutContainer();
moduleContainer.setStyleAttribute("margin", "10px");
FormPanel moduleFormPanel = new FormPanel();
moduleFormPanel.setWidth(500);
moduleFormPanel.setHeight(260);
moduleFormPanel.setHeaderVisible(false);
moduleFormPanel.setBorders(false);
moduleFormPanel.setBodyBorder(false);
moduleFormPanel.setLabelAlign(LabelAlign.TOP);
DualListField listsModule = new DualListField();
listsModule.setWidth(250);
listsModule.setFieldLabel("Module");
availModuleTemporaryListStore.setStoreSorter(new StoreSorter());
availModule = listsModule.getFromList();
availModule.setDisplayField("elmodulename");
availModule.setWidth("92");
availModule.setStore(availModuleTemporaryListStore);
usedModuleListStore.setStoreSorter(new StoreSorter());
usedModule = listsModule.getToList();
usedModule.setDisplayField("elmodulename");
usedModule.setWidth("92");
usedModule.setStore(usedModuleListStore);
moduleFormPanel.add(listsModule, new FormData("100%"));
moduleContainer.add(moduleFormPanel);
the moduleContainer is loaded into a TabItem in my application, but i already tried it in the main viewport - with the same result :-? is this a bug? or am i doing something wrong?
here is a screenshot:
http://img4.imageshack.us/img4/2575/screenshotsgq.jpg
Thanks in advance!
I am experiencing a rather strange issue with Textfields which are rendered on top of the first rows of both columns of DualListFields. This only happens in Firefox and Chrome, not in IE and Opera. However, Firefox and Chrome display the GXT Examples just fine. I noticed this behaviour at least 3 versions ago already, but it still persists for me in version 1.2.4. Here is some sample code:
LayoutContainer moduleContainer = new LayoutContainer();
moduleContainer.setStyleAttribute("margin", "10px");
FormPanel moduleFormPanel = new FormPanel();
moduleFormPanel.setWidth(500);
moduleFormPanel.setHeight(260);
moduleFormPanel.setHeaderVisible(false);
moduleFormPanel.setBorders(false);
moduleFormPanel.setBodyBorder(false);
moduleFormPanel.setLabelAlign(LabelAlign.TOP);
DualListField listsModule = new DualListField();
listsModule.setWidth(250);
listsModule.setFieldLabel("Module");
availModuleTemporaryListStore.setStoreSorter(new StoreSorter());
availModule = listsModule.getFromList();
availModule.setDisplayField("elmodulename");
availModule.setWidth("92");
availModule.setStore(availModuleTemporaryListStore);
usedModuleListStore.setStoreSorter(new StoreSorter());
usedModule = listsModule.getToList();
usedModule.setDisplayField("elmodulename");
usedModule.setWidth("92");
usedModule.setStore(usedModuleListStore);
moduleFormPanel.add(listsModule, new FormData("100%"));
moduleContainer.add(moduleFormPanel);
the moduleContainer is loaded into a TabItem in my application, but i already tried it in the main viewport - with the same result :-? is this a bug? or am i doing something wrong?
here is a screenshot:
http://img4.imageshack.us/img4/2575/screenshotsgq.jpg
Thanks in advance!