summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-09-01 15:48:11 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-09-01 15:51:33 (GMT)
commitec4f9047913c07897496e2362e859072c24e8d9f (patch)
treed524a77942917f9a1766383706565465bc2b8c9f /doc/src
parent928ee7059f42f7e5157dd25295bd6b9eea686f29 (diff)
downloadQt-ec4f9047913c07897496e2362e859072c24e8d9f.zip
Qt-ec4f9047913c07897496e2362e859072c24e8d9f.tar.gz
Qt-ec4f9047913c07897496e2362e859072c24e8d9f.tar.bz2
Doc: Stylesheet min/max-width/height are relative to the box content.
Task-number: 235550 Reviewed-by: Olivier Goffart
Diffstat (limited to 'doc/src')
-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