Removed the BSize(const BRect&) constructor and added BRect::Size()
instead. Also added a BRect(BPoint, BSize) constructor. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -167,7 +167,7 @@ BCardLayout::LayoutView()
|
||||
{
|
||||
_ValidateMinMax();
|
||||
|
||||
BSize size = BSize(View()->Bounds());
|
||||
BSize size = View()->Bounds().Size();
|
||||
size.width = max_c(size.width, fMin.width);
|
||||
size.height = max_c(size.height, fMin.height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user