PDA

View Full Version : Combobox button positioned badly



ninja
4 Sep 2008, 2:14 AM
The problem was already reported by me in the bug forum, but the topic was redirected here. The issue can be seen in the attached image. The combobox button is positioned badly. Date fields are also suffer from the same problem.
Any help would be appreciated.
Thanks, Ninja

gslender
4 Sep 2008, 3:16 AM
check you are using the right doctype for GXT which is html4.0 quirks

ninja
4 Sep 2008, 3:28 AM
I am using the right doctype.

gslender
4 Sep 2008, 3:31 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

ninja
4 Sep 2008, 5:15 AM
This is exactly what I have.

gslender
5 Sep 2008, 1:30 AM
another thing to try is removing all other css from your html

without seeing or testing a reproducible bit of code, I would purely be guessing (which is what I've been doing)

ninja
5 Sep 2008, 1:34 AM
Can I send you the whole source code of my project? This is only a prototype, no database connection...

gslender
5 Sep 2008, 3:38 AM
sure, as long as I can compile it without needing other classes - best keeping it as simple as possible

ninja
10 Sep 2008, 12:15 AM
Thank you very much. Your tip was helpful (to check my css).

flashdrvnk
16 Oct 2008, 4:59 AM
I had the same error and found the error in one of my own stylesheets:


img {
margin-top: 20px;
}

Just wanted to share possible sources of error.
Thanks for the hint.

francescoNemesi
16 Oct 2008, 8:53 PM
I had the same problem (http://extjs.com/forum/showthread.php?t=43096) with the same solution...

In cases like this Firebug is priceless as it allows you to modify css attributes "live" and indentify immediately the offending css.

Regards