Compose spacing given to BALMLayout constructor.

This commit is contained in:
Alex Wilson
2012-05-03 08:44:43 +12:00
parent 548c302600
commit 3479e516b7
+2 -2
View File
@@ -36,8 +36,8 @@ BALMLayout::BALMLayout(float hSpacing, float vSpacing, BALMLayout* friendLayout)
fRightInset(0), fRightInset(0),
fTopInset(0), fTopInset(0),
fBottomInset(0), fBottomInset(0),
fHSpacing(hSpacing), fHSpacing(BControlLook::ComposeSpacing(hSpacing)),
fVSpacing(vSpacing) fVSpacing(BControlLook::ComposeSpacing(vSpacing))
{ {
fSolver = friendLayout ? friendLayout->Solver() : &fOwnSolver; fSolver = friendLayout ? friendLayout->Solver() : &fOwnSolver;
fRowColumnManager = new RowColumnManager(fSolver); fRowColumnManager = new RowColumnManager(fSolver);