Debugger: Adjust default weights of splitters in the main window.

Much more logical proportioning.
This commit is contained in:
Augustin Cavalier 2022-09-28 17:12:33 -04:00
parent 3c1cf7b294
commit 2bfacb1a20

View File

@ -1152,10 +1152,10 @@ TeamWindow::_Init()
.AddSplit(B_VERTICAL, splitSpacing)
.GetSplitView(&fFunctionSplitView)
.SetInsets(B_USE_SMALL_INSETS)
.Add(fTabView = new BTabView("tab view"), 0.4f)
.AddSplit(B_HORIZONTAL, splitSpacing)
.Add(fTabView = new BTabView("tab view"))
.AddSplit(B_HORIZONTAL, splitSpacing, 2)
.GetSplitView(&fSourceSplitView)
.AddGroup(B_VERTICAL, B_USE_SMALL_SPACING)
.AddGroup(B_VERTICAL, B_USE_SMALL_SPACING, 6.0f)
.AddGroup(B_HORIZONTAL, B_USE_SMALL_SPACING)
.Add(fRunButton = new BButton("Run"))
.Add(fStepOverButton = new BButton("Step over"))
@ -1169,9 +1169,9 @@ TeamWindow::_Init()
.Add(sourceScrollView = new BScrollView("source scroll",
NULL, 0, true, true), splitSpacing)
.End()
.Add(fLocalsTabView = new BTabView("locals view"))
.Add(fLocalsTabView = new BTabView("locals view"), 4.0f)
.End()
.AddSplit(B_VERTICAL, splitSpacing)
.AddSplit(B_VERTICAL, splitSpacing, 0.5f)
.GetSplitView(&fConsoleSplitView)
.SetInsets(0.0)
.Add(fConsoleOutputView = ConsoleOutputView::Create())