ios - Autoshrink in UILabel only for width? -


i have ascii syntax diagrams must not have line breaks in middle.

these don't have editable thought best way use uilabel auto shrink option. option shrinks text if content doesn't fit height of labels frame rectangle.

i want shrink if content doesn't fit width. absolutely fine scroll vertically through text.

what best way uilabel or other ui element?

use uitextview 'editable' property set false.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -