[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: crop label on button Neil Fri Feb 17 14:00:13 2012

gNeandr wrote:

How to crop the text string for the label of a button.

Assume a button has a given width="100", the text may be longer and with that it will grow over the width of the button.

The "crop" attribute can be used with "document.createElement('label');"
but is it possible with the button label also?
How would it be defined?

In just the same way. The button's label inherits the crop attribute from the button.

Warning: May contain traces of nuts.
dev-extensions mailing list