In our SharpWired project , we are trying to create a download component similar to the download windows in Firefox or Safari. That is, one top-down list of downloads, which are customizable controls containing progress bars, buttons, and what not.
The requirements are that there should be one single list with one item on each line. Each item must be a custom control. The whole list should be dynamically re-meaningful, so when you make it longer / shorter, the list adds a scroll bar when necessary, and when you make it thinner / wide, user controls should resize to the width of the list.
We tried using the FlowLayoutPanel but did not get the resize to work the way we want. Preferably, we should set the binding of user controls left and right. We also thought about using TableLayoutPanel , but dynamically added rows to be too much overhead.
This should be a fairly common use case, and it seems a little strange to me that the FlowLayoutPanel has no intuitive way to do this. Has anyone done something similar or do you have tips or tricks?
Hooray!
/Adam
source share