We currently have big problems finding the right way to handle layouting of Panels containing a flowlayoutpanel which contains TableLayoutPanels.
Whats the correct Way to build something like this and is this possible with the actual Version of WiseJ ? We’ve tried different workarounds but we detected that they are not stable for next WiseJ-Builds. What’s the common way we should use ?
I’ve attached a little sample Project and a simple picture of what we are trying to implement. Could you please tell us if the behavior of the sample is buggy or if it’s behaving like it should ?
Best Regards
Corvin
Hi Corvin,
See attached modified sample and screen cast.
http://www.screencast.com/t/EJeotvIRNV
The main issue was that the flow panels were children of panels and docked inside the parent. This prevents the child panel to grow automatically unless the parent grows too – but the parent cannot grow automatically if it’s size depends on the child that it turns depends on the parent.
A second issues was that the AutoSize property was being turned off automatically when setting the Dock to top.
I moved the flow layout panels out of the panels and deleted the panels. It’s easy when you use the document outline view View-Other Windows->Document Outline. You can see it in the screen cast.
I will look at the image you sent and build the table layout test sample next.
HTH
Best,
Luca
Great! Thank you.
Best,
Corvin
Hi Corvin,
Thank you for the sample. There are issues with the sample and with the dynamic layout vertical auto resizing in Wisej. I will send you the fixed TestflowLayoutPanel and a second sample implementing the image in the drawing – after the issues that your sample uncovered are fixed.
Best,
Luca