• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change the button size dynamically ?

 
angelin precilla
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I need to change the button size dynamically.
When my button label is "delete" , it gets displayed properly.
But if my button label is "delete fr" , some of the text gets cuts off.
How to solve this problem ?
Can anyone help me ?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well you did not give much to go on here. Why is it getting cut off. Do you have a set width on it. When is the text being changed to include the new text?

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic