Srinivasan -

The preferred size will automatically adjust according to the button's
text's width.  If the text is not appearing properly, perhaps there is
something wrong with the way you're using layouts, or you are explicitly
setting sizes for components or the window (usually a bad thing).

- Keith

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Samivelu, Srinivasan
> Sent: Thursday, November 15, 2001 6:57 AM
> To: '[EMAIL PROTECTED]'
> Subject: Dynamically setting the size of the button
>
>
> Dear All
>       I want set the size of the button dynamically based on its label.
> Can anybody throw light on it.
>
> Thanks in advance
> Srinivasan
>
> _______________________________________________
> Advanced-swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/advanced-swing
>

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to