Sie sind nicht angemeldet.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

1

Montag, 17. Oktober 2011, 21:23

textfield get width of text?

I'm aligning a plugin to the left of a textfield which is aligned right..
Without setting a width, default width is like 400px. I can get the text length and try to calculate "fit" but depending on the number of characters used, the actual width of the typography may exceed my calculation or create much more width than necessary.
So how do I set the width of the textfield accurately?
autosize works great for height.. but is this issue why width was not supported?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Ähnliche Themen