Justin schrieb:
I don't know of any attribute that will do what you want. There is
always the DockStyle.Fill but I am not sure if this will work for your
situation. It is also possible to just write your own resize function
to slowly increase or decrease the size of your control until it fills
the proper space. Wish I knew of something to make it easy, but I've
found more often than not I'm creating my own hacks with Windows Forms
b/c the tools just are not there. Good luck
DockStyle.Fill will make all items as large as the largest one.
Well, if no other way is possible I'll need to reverse-engineer how
label does it, since for label and linklabel it is working very well.
Sam (thinkin', maybe PreferredSize can be overloaded - checkin!)