This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change the button size dynamically ?  RSS feed

 
angelin precilla
Ranch Hand
Posts: 33
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!