threerings/papercut — comment on commit eadd6701c6410fb67a944293af10ebe06347a982
File:  line 0
By samskivert:

On Thu, Nov 3, 2011 at 11:35 AM, Charlie Groves

wrote:
> This means if you enter a value larger than 999 in the field, it shrinks the slider. The max text restriction prevented that. I like max text as it doesn't change what the user's inputting as they're typing, but validating the entry and changing what the user entered to fit could work with this approach.

We can fix the width instead of setting it to a minimum.

I don't think that adjusting the layout to accommodate rare text is
necessarily better than cutting off said text in the text input box.
And in this case the widget in question is a button. So you can't
enter arbitrary text at all, only slide the slider, which seems to be
bounded at less than three digits (though maybe that's because I'm on
a small monitor or something).

Surely you always want this button to display the value in question,
and not cut it off if for some reason the value was larger than 999,
even if it meant jiggling the layout.

-- mdb@samskivert.com