Skip to content

Desktop control does not resize. #1189

Closed

Description

@itg-assistant

Wilfred Schønegge asked 2017-10-30 14:18:20 UTC

Hi,

I have a Wisej.Web.Page. Inside I have a panel docked to the left. A MenuBar docked to the top. And then a Wisej.Web.Desktop that is set to dock "Fill".

The issue is that the size of the Desktop control is what it was when the designer window was closed. And it does not resize when the user resize the browser window.

Wisej v 1.4.41.0

Best regards,

Wilfred

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-10-30 16:01:36 UTC

    Thanks! Logged the error. The workaround is to set the Dock to Fill after InitializeComponent()

    InitializeComponent();
    this.desktop1.Dock = DockStyle.Fill;

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-10-30 16:07:10 UTC

    Your test case creates two desktops, the main one and a child. If you create windows they will not show because they are going to the main desktop. It works find if you remove the Application.Desktop = new MyDesktop() line.

  4. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-11-16 00:50:50 UTC

    Hi Wilfred,

    the bug was logged as WJ-8556 and a fix is included in Wisej release 1.4.50.

    Best regards
    Frank

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

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions