diff --git a/docs/xml/lcl/comctrls.xml b/docs/xml/lcl/comctrls.xml
index dcb5fa6ad4..09d72728c3 100644
--- a/docs/xml/lcl/comctrls.xml
+++ b/docs/xml/lcl/comctrls.xml
@@ -6669,7 +6669,7 @@ and stored internally in the controls.
When an OnPaintButton event handler has been assigned for the ToolBar, it is -used to render the button using the theme details. No additional actions are +used to render the button using theme details. No additional actions are performed in the method.
When OnPaintButton is unassigned, the default drawing routines are used to render the button on the Canvas for the control. This includes decorations -like a drop-down indicator, an image using the required state, the Caption -text with space reserved for padding, button relief, and dividers or -separators. Methods in ThemeServices are called to render the control to the -Handle for the Canvas. +like a drop-down indicator, an image using the required state, and dividers +or separators for the button. Space is reserved as padding between the icon +and text on the control (when both are used). The value in the +cHorIconTextDist or cVerIconTextDist constant is scaled to the PPI setting +for the control Font, and applied to the text position based on the setting +in List. cHorIconTextDist is used when List is True. Methods in +ThemeServices are called to render the control to the Handle for the Canvas.
Paint calls the inherited method prior to exit to signal the OnPaint event
@@ -18599,7 +18617,70 @@ handled for the control.
-
+CalculatePreferredSize is an overridden method in
+TToolButton. It returns the calculated width and height for the
+control in the PreferredWidth and PreferredHeight
+variable arguments. It re-implements the method introduced in TControl to
+return non-empty values in the arguments.
+
+No actions are performed in the method if a TToolBar instance has not been
+assigned as the Parent for the control. In this case, the values in the
+PreferredWidth and PreferredHeight arguments are not changed from their
+values on entry.
+
+WithThemeSpace indicates whether additional space is reserved for
+theme element details. It is not used in the current implementation of the
+method.
+
+CalculatePreferredSize calculates the size needed to represent the icon and
+text on the control. The value in Style determines whether the icon and/or
+text values are needed in the calculated values. When both are needed,
+additional space is reserved between the icon and text as indicated in the
+cHorIconTextDist or cVerIconTextDist constants. The number of pixels is
+scaled to the PPI setting for the control Font and applied to the calculated
+values.
+
+CalculatePreferredSize includes space (when needed) for a frame around the
+control, a drop-down indicator, or the height / width for a divider or
+separator button. The Style property determines which values are required.
+
+CalculatePreferredSize is called form the GetPreferredSize method when it has
+not already been called for the class instance.
+