Fix error in height calculation in alm/SharedSolver.
This commit is contained in:
parent
c8b24e3eb5
commit
45f28e068b
@ -75,7 +75,7 @@ struct SharedSolver::PreferredSizeValidator {
|
||||
ResultType solveResult)
|
||||
{
|
||||
float width = layout->Right()->Value() - layout->Left()->Value();
|
||||
float height = layout->Top()->Value() - layout->Bottom()->Value();
|
||||
float height = layout->Bottom()->Value() - layout->Top()->Value();
|
||||
solver->SetPreferredSize(layout, BSize(width, height));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user