PDA

View Full Version : Combobox button positioned badly


ninja
09-04-2008, 06: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
09-04-2008, 07:16 AM
check you are using the right doctype for GXT which is html4.0 quirks

ninja
09-04-2008, 07:28 AM
I am using the right doctype.

gslender
09-04-2008, 07:31 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

ninja
09-04-2008, 09:15 AM
This is exactly what I have.

gslender
09-05-2008, 05: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
09-05-2008, 05:34 AM
Can I send you the whole source code of my project? This is only a prototype, no database connection...

gslender
09-05-2008, 07:38 AM
sure, as long as I can compile it without needing other classes - best keeping it as simple as possible

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

flashdrvnk
10-16-2008, 08: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
10-17-2008, 12:53 AM
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