PDA

View Full Version : GXT 2.0 Icons



Rvanlaak
24 Apr 2009, 4:33 AM
Hi!

I've been busy with the new icon-sets, demonstrated in the buttons example. http://extjs.com/examples-dev/explorer.html#buttons

I want to place an icon on the buttons, wich has an resolution of 48x48px... Unfortunatly it seems the buttons out of the box have a icon height restriction of 32px or so.. (see attachment)

Does this 'bug' has a workaroud, or is it something to be fixed in the GXT2-M2 release?

sven
24 Apr 2009, 4:37 AM
It is just not supported.

Rvanlaak
24 Apr 2009, 5:07 AM
Mm,, i don't think it is that hard to implement. I've made a workaround for it by overriding one of the css attributes in gxt-all.css. When I override code line 1457 it does work. :P

Take a look at the screenshot:

sven
24 Apr 2009, 5:11 AM
Yes, i know. But out of the box it only supports small, medium andlarge :)