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:
parent
80e1f0e419
commit
14cfdab543
@ -170,6 +170,9 @@ CalcView::CalcView(BMessage* archive)
|
|||||||
fOptions(new CalcOptions()),
|
fOptions(new CalcOptions()),
|
||||||
fShowKeypad(true)
|
fShowKeypad(true)
|
||||||
{
|
{
|
||||||
|
// Do not restore the follow mode, in shelfs, we never follow.
|
||||||
|
SetResizingMode(B_FOLLOW_NONE);
|
||||||
|
|
||||||
// create expression text view
|
// create expression text view
|
||||||
fExpressionTextView = new ExpressionTextView(_ExpressionRect(), this);
|
fExpressionTextView = new ExpressionTextView(_ExpressionRect(), this);
|
||||||
AddChild(fExpressionTextView);
|
AddChild(fExpressionTextView);
|
||||||
|
Loading…
Reference in New Issue
Block a user