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:
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user