PDA

View Full Version : Button resize rendering problem in IE



dbassett74
18 Nov 2009, 8:02 AM
It seems that if the Button height is set to anything other than the default, it doesn't render correctly in IE. Looks fine in all other browsers. I have attached an example of what it looks like with an extreme height just to illustrate the problem. Even with a minor height adjustment, it still renders incorrectly. Is there a fix for this?

Animal
18 Nov 2009, 8:15 AM
Use scale 'small', 'medium' or 'large'.

Or use your own sprite and CSS rules.

dbassett74
18 Nov 2009, 8:27 AM
Seems kind of restrictive. I did see another post of yours explaining the reason for this is because it uses fixed images, or something like that. But my question is, why does it render just fine in FireFox and others as shown in the attached?

Animal
18 Nov 2009, 8:30 AM
I don't know. I've never tried to create a mahoosive Button.

dbassett74
18 Nov 2009, 8:33 AM
I don't know. I've never tried to create a mahoosive Button.

LOL, yes, I know. But there are legitimate uses for larger button sizes, like when you want the words to be wrapped. Or, you're creating a touchscreen aware application, like maybe a POS terminal, which has larger, square buttons. I just don't understand why IE has a problem with this.

Animal
18 Nov 2009, 8:42 AM
Yes, good point. Touchscreen apps often need paw-sized buttons.

Maybe I'll look at it some day!

If you have IE8, you can fiddle with the CSS styling yourself. Not as good as Firebug, but you can get by (just)

Animal
18 Nov 2009, 9:03 AM
They seem to work fine for me on IE8

http://i131.photobucket.com/albums/p286/TimeTrialAnimal/big-buttons-work-on-ie.jpg

Animal
18 Nov 2009, 9:05 AM
Works fine on IE6 too.

dbassett74
18 Nov 2009, 9:13 AM
Hmm... Works fine in IE8 for me, but not IE6. In wonder what's going on here?? Same exact Ext version as I am looking at the same exact page with both IE8 and IE6.

aw1zard2
18 Nov 2009, 11:41 AM
http://www.extjs.com/forum/showthread.php?p=396452#post396452

:)

aw1zard2
18 Nov 2009, 11:43 AM
Older post about same thing didn't test in IE6 but worked in IE7 and IE8.

http://www.extjs.com/forum/showthread.php?p=396452#post396452