PDA

View Full Version : [INVALID] Button Width not Working



m4chine
Jun 05, 2008, 2:29 PM
I've tried a few diff ways to set button width in v0.5 beta and I've had no luck:

width="350px"
width="100%"
width="350"



<ext:Button ID="Button1" runat="server" Text="Submit" Width="350px" />



Can anyone confirm this?

Branond

Vladimir
Jun 05, 2008, 2:41 PM
please see next topic

http://forums.ext.net/showthread.php?threadid=245-4-1.aspx

m4chine
Jun 05, 2008, 2:42 PM
I was able to set a width by setting the MinWidth property with



<ext:Button runat="server" id="Button1" MinWidth="350px" />

Sound like a bug?

Brandon

geoffrey.mcgill
Jun 05, 2008, 2:46 PM
There are some problems in the Ext library with setting the Button width. The internal markup of the button is changing with a future release of Ext.

geoffrey.mcgill
Jun 12, 2008, 10:51 PM
Here's a couple other forums posts which provide examples for dealing with the Button Width and Text/Icon positioning limitations.

http://forums.ext.net/showthread.php?threadid=245-4-1.aspx

http://forums.ext.net/showthread.php?threadid=485-4-1.aspx#bm540

Hope this helps.