-
23 Sep 2009 6:32 AM #1
IE TextField Display Issue
IE TextField Display Issue
Hi,
I have created a form in GXT 2.0.1. This form contains some simple TextField objects. In Firefox, Chrome, Safari they render perfectly. However, in IE they do not.....the bottom border of the TextField is missing.
See attached images as an example.
Anyone come across this before?
thanks
Brian
Code used for this is the following:
Code:FormData formData = new FormData(); FormPanel criteriaPanel = new FormPanel(); criteriaPanel.setHeaderVisible(false); criteriaPanel.setBodyBorder(false); criteriaPanel.setLabelSeparator(""); criteriaPanel.setLabelWidth(120); TextField<String> tradeRef = new TextField<String>(); tradeRef.setFieldLabel("Trade Reference"); criteriaPanel.add(tradeRef, formData); TextField<String> messageRef = new TextField<String>(); messageRef.setFieldLabel("Message Reference"); criteriaPanel.add(messageRef, formData); DateField settlementDateFrom = new DateField(); settlementDateFrom.setFieldLabel("Sett Date From"); criteriaPanel.add(settlementDateFrom); TextField<String> custodyAcc = new TextField<String>(); custodyAcc.setFieldLabel("Client"); criteriaPanel.add(custodyAcc, formData); CheckBox excludeSettled = new CheckBox(); excludeSettled.setFieldLabel("Exclude Settled"); excludeSettled.setValue(true); criteriaPanel.add(excludeSettled);
-
23 Sep 2009 8:14 AM #2
i have the same issue. good to know that im not alone with this :-)
i add this in my css patch file after the original gxt css:
PHP Code:.ext-ie .x-form-text {
margin-bottom: 1px;
}
This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041
-
23 Sep 2009 8:17 AM #3
-
29 Sep 2009 7:49 AM #4
I am also experiencing this....
Guess this should be added to the default gxt css.
-
29 Sep 2009 10:22 AM #5
I added the CSS directly into my HTML file.....but I guess you can add it into gxt css file if you like
-
30 Sep 2009 5:41 AM #6
i think he mean it should be as default in the gxt.zip from www.extjs.com ?
otherwise:
i collect all my patches in a custom.css file, so i can review it faster after upgrading the original gxt cssThis forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041
-
30 Sep 2009 5:47 AM #7
-
30 Sep 2009 6:00 AM #8
No it should not. The css rules are needed for IE. The missing bottom border is already addressed in SVN
-
30 Sep 2009 6:01 AM #9


Reply With Quote