LayoutItem: better documentation for SetExplicitMinSize.

This is a bit counter-intuitive, at least to me, as forcing the minimal
size can lead to the item being smaller than it would otherwise.
This commit is contained in:
Adrien Destugues
2014-12-15 10:46:11 +01:00
parent 40e05d88f9
commit 244f97dc27
+5
View File
@@ -164,6 +164,11 @@
\fn void BLayoutItem::SetExplicitMinSize(BSize size) = 0
\brief Set this item's explicit min size, to be used in MinSize().
This forces the minimal size for the item and overrides any constraints
that would normally be used to compute it. Most importantly, the minimal
size of children is ignored, so setting this can lead to the children not
fitting the view.
\since Haiku R1
*/