Reset the follow mode to "follow none" when instantiating a replicant view.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29918 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-04-05 07:35:40 +00:00
parent 80e1f0e419
commit 14cfdab543

View File

@ -170,6 +170,9 @@ CalcView::CalcView(BMessage* archive)
fOptions(new CalcOptions()),
fShowKeypad(true)
{
// Do not restore the follow mode, in shelfs, we never follow.
SetResizingMode(B_FOLLOW_NONE);
// create expression text view
fExpressionTextView = new ExpressionTextView(_ExpressionRect(), this);
AddChild(fExpressionTextView);