2015-02-10, 01:01
I would love to see textboxes that auto resize their height so that they only show full lines of text and don't cut any off.
For instance say I have a textbox that is 80px high. However, the font size I've used is 25px a line. 3 lines of text are shown (75px) but the top of the fourth line of text can also be seen. What should happen is the text box should resize to the closest height to only show full lines of text - e.g. this example should resize to 75px.
This has three main benefits:
(1) Makes it easier to include multiple font size options to accommodate people with smaller TVs or bad eyesight.
(2) When using alternate resolutions text wont be cut off
(3) Skinning time is saved as the dimensions of the textboxes can be set according to the space they occupy - the textbox doesn't have to be tweaked to match pixel perfectly to the line height.
For instance say I have a textbox that is 80px high. However, the font size I've used is 25px a line. 3 lines of text are shown (75px) but the top of the fourth line of text can also be seen. What should happen is the text box should resize to the closest height to only show full lines of text - e.g. this example should resize to 75px.
This has three main benefits:
(1) Makes it easier to include multiple font size options to accommodate people with smaller TVs or bad eyesight.
(2) When using alternate resolutions text wont be cut off
(3) Skinning time is saved as the dimensions of the textboxes can be set according to the space they occupy - the textbox doesn't have to be tweaked to match pixel perfectly to the line height.