Controls changing size for no reason

froodley

Active member
Joined
Apr 20, 2010
Messages
26
Programming Experience
1-3
Hey, all,

Having another issue I'm hoping you can help with.

My program has two lists, one a listbox and the other a listview viewed in details mode.

Both of them change heights (get taller) for no obvious reason. I am having to add a call to a method that resizes them to the end of every method, which is kind of absurd, I think. Also, when the window size is changed, these components change size, which means I have to keep track of that.

What's going on here? :eek:

Edit: I had also thought of adding a timer to handle this. Which is fairly absurd, too :p
 
I had a similar issue once when I changed the font at runtime. As soon as I commented out the font change, the resizing stopped. Are you making any cosmetic changes to the form at runtime? If so, try commenting them out and see if the issue continues. Mine had something to do with System.Drawing... It was quite annoying.
 
Back
Top