这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mpondo
Copy link
Contributor

@mpondo mpondo commented May 31, 2021

The current behavior treats all the windows as a group. Minimizing the main window will cause all the floating windows to be minimized. Also, if you minimize a floating window, it is minimized but then is immediately restored.

Our users requested that the they have the ability to minimize the windows independently. This is because they may need to minimize a single window that is in the way of another window, but they do not necessarily want to minimize all the other windows for the app.

In order to support this, this change adds 2 properties to the LayoutFloatingWindowControl:

  • AllowMinimize which determines whether a floating window can be minimized. Setting this to 'true' enables the ability to minimize the floating window while leaving the main window as it is.
  • OwnedByDockingManagerWindow which determines whether the window is "owned" by the main window. This determines whether the floating window should automatically minimize when the main window does or whether it should be left as is.

By separating it into 2 properties, developers have more control based on their specific needs.

The default value for each property is set to leave the current behavior unchanged.

@Dirkster99 Dirkster99 merged commit 22e6ec6 into Dirkster99:master Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants