Skip to content

Looking for recommendations - Scrollable panel #1254

Description

@itg-assistant

Carl Daniel asked 2017-12-11 00:55:28 UTC

I'm building a new app with WiseJ - so far, so good (despite many, many bugs in the designer, but I'm getting by).

The majority of my UI is a single UserControl containing a TabControl with several pages.  This control is displayed docked in a fullscreen window.  So far, so good.

Now, I need an "output window" - what I'd like is a scrollable panel within a tab of the tab control in which I can dynamically inject a variable amount of content, and have the panel display a vertical scroll bar when the content is too large.

So far, no luck though.  I've tried:

  • Using a FlowLayoutPanel with the layout set to TopToBottom - when the browser is sized down, rather than scroll bars appearing, the panel goes to a two-column layout rather than showing scroll bars.  Scroll bars are enabled on the FLP.

  • Using a TableLayoutPanel (with absolute sizes) inside a Panel - when the browser is sized down, the TLP is clipped to the available space for the panel, still no scroll bars.  Scroll bars are enabled on the Panel.

I'd like to do this within the WiseJ control suite and not resort to emitting HTML for this portion, although I suppose that's an option.  I'm not an HTML/CSS developer, so I prefer the stylistic consistency of staying with controls.

How would you go about building this UI?

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