From 621ae6bd72cc2434e98a14944c1387d0b59abc17 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Mon, 1 Jul 2013 08:46:30 -0400 Subject: [PATCH] Revert 7910d8b for now. Quite a few layouts seem to depend on the previous behavior, and there isn't really an elegant way to resolve that for now, unless I miss something in the lauout APIs. However, this does need to be looked at at some point, for some other controls as well, since it effectively makes it impossible to properly use such controls in horizontal groups and get an expected result. --- src/kits/interface/CheckBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/CheckBox.cpp b/src/kits/interface/CheckBox.cpp index ff06aaeae8..031fb11c58 100644 --- a/src/kits/interface/CheckBox.cpp +++ b/src/kits/interface/CheckBox.cpp @@ -452,7 +452,7 @@ BSize BCheckBox::MaxSize() { return BLayoutUtils::ComposeSize(ExplicitMaxSize(), - _ValidatePreferredSize()); + BSize(B_SIZE_UNLIMITED, _ValidatePreferredSize().height)); }