http://www.windows-tech.info/3/c9cb6b44b9529869.php
When two controls that would fit width-wise are added to a Flowlayoutpanel, and the first one has FlowBreak = true, the FlowLayoutPanel inserts a significant amount of unwanted vertical blank space between the controls.
Even in design time it can be reproduced. Steps are:
- Create a new form
- Add a flow layout panel
- Add a label
- Add a button
- Set flowbreak=true on the label
- Resize the button width-wise. It jumps up and down, the unwanted blank space appears and dissappears, depending on whether it is large enough to fit alongside the label or not.
I'm really surprised noone has made a reference to this bug in msdn forums, or any of the usual search engines.
We have an application that creates controls dynamically, and the client is hammering us with this bug. Help is appreciated.
No comments:
Post a Comment