From 815af77641b0b9a956f8cbefa078b68c72e0092d Mon Sep 17 00:00:00 2001 From: Joseph Battelle Date: Wed, 3 Feb 2021 00:37:54 -0800 Subject: [PATCH] Allow secondary windows to be maximized Prior to this change, secondary windows could be minimized by right-clicking on the title bar, but not maximized. Maximizing is very useful for multi-monitor setups. The popup menu includes restore as well. To enable these actions directly from the titlebar without navigating a popup, the 'ToolWindow' style would have to be removed because it inhibits the standard system buttons. --- BeefLibs/Beefy2D/src/widgets/TabbedView.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeefLibs/Beefy2D/src/widgets/TabbedView.bf b/BeefLibs/Beefy2D/src/widgets/TabbedView.bf index 84904080..823aa76f 100644 --- a/BeefLibs/Beefy2D/src/widgets/TabbedView.bf +++ b/BeefLibs/Beefy2D/src/widgets/TabbedView.bf @@ -237,7 +237,7 @@ namespace Beefy.widgets 300, 500, BFWindowBase.Flags.Border | BFWindowBase.Flags.ThickFrame | BFWindowBase.Flags.Resizable | BFWindowBase.Flags.SysMenu | BFWindowBase.Flags.Caption | BFWindowBase.Flags.Minimize | BFWindowBase.Flags.ToolWindow | BFWindowBase.Flags.TopMost | - BFWindowBase.Flags.UseParentMenu, + BFWindowBase.Flags.UseParentMenu | BFWindowBase.Flags.Maximize, subFrame); Dock(subFrame, null, DockingFrame.WidgetAlign.Top); //subFrame.AddDockedWidget(fourthTabbedView, null, DockingFrame.WidgetAlign.Left, false);