I recent was spinning out a quick Windows Form application to help an orders team look up product information and found myself questioning how to wrap text in a label rather than have it venturing off the application into nowheresville.
As a web developer, I always assume my text will find its place within the boundaries of a panel or table cell, whatever medium houses it. But the same should not be assumed for Windows Forms applications. Luckily, there is a simple solution.
Set the label's AutoSize property to Off.
The label becomes a resizable control that you can drag to whatever limits you want the text contained within.
Showing posts with label Label. Show all posts
Showing posts with label Label. Show all posts