View Full Version : [CLOSED] Window icon glitch

14 Aug 2008, 8:56 AM
I just started playing with GXT and created my first "application" (LoginDialog ripped from Mail demo). Immediately I noticed a visual bug. I've no idea if it's fixed in SVN as it's locked.

GXT 1.0.2
Firefox 3.0.1 Linux


14 Aug 2008, 9:07 AM
Firebug revealed that the [X] icon that appears on the left of the header is the following DIV:

<div class="x-tool x-nodrag no-icon" id="my-0" style="position: absolute; margin-left: 0px; display: block; width: 20px; left: 1px;"/>The window is supposed not to have any icon. The [X] image seems to tile too.

14 Aug 2008, 9:18 AM
I might be wrong, but I can't find any references to "no-icon" in any GXT source/resource files... :-?

Christian Hemker
14 Aug 2008, 10:40 AM
When you remove the Method

you do not see the wrong icon anymore, I think.
The CSS Class user requires a icon, that was not found in the public folder.

14 Aug 2008, 11:19 AM
This is a known behaviour, and as Christian explained, if you remove the setIconStyle method (or provide the icon file) the render will correct itself.

Please [close] this bug report by changing the title of the post.

14 Aug 2008, 12:22 PM
Right, guys! Thanks!