summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/src/widgets-and-layouts/stylesheet.qdoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/widgets-and-layouts/stylesheet.qdoc b/doc/src/widgets-and-layouts/stylesheet.qdoc
index 6355850..354050d 100644
--- a/doc/src/widgets-and-layouts/stylesheet.qdoc
+++ b/doc/src/widgets-and-layouts/stylesheet.qdoc
@@ -2067,6 +2067,9 @@
QMenuBar, QPushButton, QRadioButton, QSizeGrip, QSpinBox,
QSplitter, QStatusBar, QTextEdit, and QToolTip.
+ The value is relative to the contents rect in the \l{The
+ Box Model}{box model}.
+
Example:
\snippet doc/src/snippets/code/doc_src_stylesheet.qdoc 63
@@ -2084,6 +2087,9 @@
QMenuBar, QPushButton, QRadioButton, QSizeGrip, QSpinBox,
QSplitter, QStatusBar, QTextEdit, and QToolTip.
+ The value is relative to the contents rect in the \l{The
+ Box Model}{box model}.
+
Example:
\snippet doc/src/snippets/code/doc_src_stylesheet.qdoc 64
@@ -2121,6 +2127,9 @@
If this property is not specified, the minimum height is
derived based on the widget's contents and the style.
+ The value is relative to the contents rect in the \l{The
+ Box Model}{box model}.
+
Example:
\snippet doc/src/snippets/code/doc_src_stylesheet.qdoc 66
@@ -2141,6 +2150,9 @@
If this property is not specified, the minimum width is
derived based on the widget's contents and the style.
+ The value is relative to the contents rect in the \l{The
+ Box Model}{box model}.
+
Example:
\snippet doc/src/snippets/code/doc_src_stylesheet.qdoc 67