From 244f97dc27714d8e4871759fe90b63c68a718d97 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 15 Dec 2014 10:46:11 +0100 Subject: [PATCH] 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. --- docs/user/interface/LayoutItem.dox | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/user/interface/LayoutItem.dox b/docs/user/interface/LayoutItem.dox index 6c85de1727..3a73c09920 100644 --- a/docs/user/interface/LayoutItem.dox +++ b/docs/user/interface/LayoutItem.dox @@ -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 */