From 119c90fc35b013c6def51b167a1212027ba49394 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Mon, 30 Apr 2012 19:06:32 -0400 Subject: [PATCH] Fix remaining part of #8094. Set an explicit minimum size on the source path view, in order to prevent it from unduly influencing the initial size constraints of the window. (Belatedly) fixes the remaining part of #8094. --- .../debugger/user_interface/gui/team_window/TeamWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp index 36895208c4..c499dfeedf 100644 --- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp @@ -1,6 +1,6 @@ /* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. - * Copyright 2010-2011, Rene Gollent, rene@gollent.com. + * Copyright 2010-2012, Rene Gollent, rene@gollent.com. * Distributed under the terms of the MIT License. */ @@ -698,6 +698,7 @@ TeamWindow::_Init() fStepIntoButton->SetTarget(this); fStepOutButton->SetTarget(this); + fSourcePathView->SetExplicitMinSize(BSize(100.0, B_SIZE_UNSET)); fSourcePathView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET)); BMessageFilter* filter = new(std::nothrow) PathViewMessageFilter( BMessenger(this));