From 14cfdab543cd4742de559c14db848dfef070002d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sun, 5 Apr 2009 07:35:40 +0000 Subject: [PATCH] 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 --- src/apps/deskcalc/CalcView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp index e5ddf6408a..eb0ec4b1e3 100644 --- a/src/apps/deskcalc/CalcView.cpp +++ b/src/apps/deskcalc/CalcView.cpp @@ -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);