PDA

View Full Version : [ext1a3r4] Ext.Button minWidth doesn't work on FF



papasi
15 Mar 2007, 2:28 PM
The code below will render nicely in IE6. But in Firefox 1.5.0.10, the Cancel button is actually SMALLER than the OK button, which is weird.


new Ext.Button("OK", {text: "OK", minWidth:75, handler: function(){}});
new Ext.Button("Cancel", {text: "Cancel", minWidth:75, handler: function(){}});


http://talrasha.com/ext1a3r4/examples/view/extbug.png

A demo page is here, you can try it with IE6 and FF1.5 to see the difference

http://talrasha.com/ext1a3r4/examples/view/buttons.html

Thanks

JeffHowden
15 Mar 2007, 3:00 PM
I'd start by upgrading to FF2

tryanDLS
15 Mar 2007, 3:23 PM
Same in FF2. Take a look at the generated HTML in Firebug - button2 has width:auto. Can you try that with a different theme?