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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||
* Copyright 2010-2011, Rene Gollent, [email protected].
|
||||
* Copyright 2010-2012, Rene Gollent, [email protected].
|
||||
* 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));
|
||||
|
||||
Reference in New Issue
Block a user