Required Information
Version(s) of Ext GWT
GXT 3.1 beta, (nightly build 2014/03/19 on my desktop)
Browser versions and OS
(and desktop environment, if applicable)
Virtual Machine
No
Description
In both the GXT Explorer for 3.1 beta and in my own personal testing, opening a MultilinePromptMessageBox in Firefox causes the bottom border to be hidden, due to the height of the TextArea field being too small. It looks like this problem comes from TextAreaDefaultAppearance.adjustTextAreaSize(int, int), where there's a specific check for '!GXT.isGecko()' which expects that Firefox should be able to have a larger text area size than other browsers, due to an expectation that Gecko has a 0px margin on text area elements.
I'm using this URL for the beta explorer - http://ift.tt/1gupgsy - and both the Gray Theme and the Blue Theme seem to have this issue, but not the Neptune Theme.
Run mode
Both
Steps to reproduce the problem
Expected result
The border should be clearly visible.
Actual result
The bottom border is chopped off.
Test case
Helpful Information
Screenshot or video
Live test
«http://… Address for a test case for this bug on a running server»
Debugging already done
Possible fix
Remove the Gecko-specific conditionals so that all browsers are the same? Or check for a specific version of Gecko? Or try to reset every browser to the same text area margin?
Version(s) of Ext GWT
GXT 3.1 beta, (nightly build 2014/03/19 on my desktop)
Browser versions and OS
(and desktop environment, if applicable)
- Firefox 24.3.0 ESR, Ubuntu 13.10, Unity
Virtual Machine
No
Description
In both the GXT Explorer for 3.1 beta and in my own personal testing, opening a MultilinePromptMessageBox in Firefox causes the bottom border to be hidden, due to the height of the TextArea field being too small. It looks like this problem comes from TextAreaDefaultAppearance.adjustTextAreaSize(int, int), where there's a specific check for '!GXT.isGecko()' which expects that Firefox should be able to have a larger text area size than other browsers, due to an expectation that Gecko has a 0px margin on text area elements.
I'm using this URL for the beta explorer - http://ift.tt/1gupgsy - and both the Gray Theme and the Blue Theme seem to have this issue, but not the Neptune Theme.
Run mode
Both
Steps to reproduce the problem
- Open http://ift.tt/1gupgsy in Firefox.
- Choose the Blue Theme or the Gray Theme in the dropdown in the upper-right corner of the screen.
- Click on 'Multiline Prompt'.
- The dialog opens and the text area is missing the bottom border.
Expected result
The border should be clearly visible.
Actual result
The bottom border is chopped off.
Test case
Code:
Helpful Information
Screenshot or video
Live test
«http://… Address for a test case for this bug on a running server»
Debugging already done
- Looked at the TextAreaDefaultAppearance.adjustTextAreaSize method and noticed that there's a Gecko specific 'if' statement for the height of the TextArea that makes the TextArea bigger on Firefox than on other browsers.
Possible fix
Remove the Gecko-specific conditionals so that all browsers are the same? Or check for a specific version of Gecko? Or try to reset every browser to the same text area margin?
Aucun commentaire:
Enregistrer un commentaire