summaryrefslogtreecommitdiff
path: root/vcl/inc/toolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/toolbox.h')
-rw-r--r--vcl/inc/toolbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h
index 8670aeeb101b..db9370912e2a 100644
--- a/vcl/inc/toolbox.h
+++ b/vcl/inc/toolbox.h
@@ -63,12 +63,14 @@ struct ImplToolItem
OString maHelpId;
Rectangle maRect;
Rectangle maCalcRect;
- /// Widget layout may request size; set it as the minimal size.
+ /// Widget layout may request size; set it as the minimal size (like, the item will always have at least this size).
Size maMinimalItemSize;
/// The overall horizontal item size, including one or more of [image size + textlength + dropdown arrow]
Size maItemSize;
long mnSepSize;
long mnDropDownArrowWidth;
+ /// Size of the content (bitmap or text, without dropdown) that we have in the item.
+ Size maContentSize;
ToolBoxItemType meType;
ToolBoxItemBits mnBits;
TriState meState;