Skip to content

Panel containing FlowlayoutPanel , resizing, docking wrapping etc. #230

Closed

Description

@itg-assistant

Corvin asked 2016-09-02 11:22:05 UTC

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

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-09-02 15:43:51 UTC

    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

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Corvin answered 2016-09-02 16:05:11 UTC

    Great! Thank you.

    Best,

    Corvin

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2016-09-06 15:55:02 UTC

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions