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

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

qt - Change color of QGraphicsView rubber band -

c++ - Visible files in the "Projects" View of the Qt Creator IDE if using the CMake build system -