bonefish+stippi:
All views which cache layout information need to call ResetLayoutInvalidation() when they have updated the cached information. Otherwise calling InvalidateLayout() once they are already attached to a layout may not have any effect. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36217 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -611,6 +611,8 @@ BCheckBox::_ValidatePreferredSize()
|
||||
|
||||
fPreferredSize.height = (float)ceil(6.0f + fontHeight.ascent
|
||||
+ fontHeight.descent);
|
||||
|
||||
ResetLayoutInvalidation();
|
||||
}
|
||||
|
||||
return fPreferredSize;
|
||||
|
||||
Reference in New Issue
Block a user