diff options
Diffstat (limited to 'doc/html/layout.html')
-rw-r--r-- | doc/html/layout.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/layout.html b/doc/html/layout.html index 89f656558..0358ed903 100644 --- a/doc/html/layout.html +++ b/doc/html/layout.html @@ -200,14 +200,14 @@ layout, you should reimplement the following <a href="tqwidget.html">TQWidget</a <p> <ul> <li> <a href="tqwidget.html#sizeHint">TQWidget::sizeHint</a>() returns the preferred size of the widget. <li> <a href="tqwidget.html#minimumSizeHint">TQWidget::minimumSizeHint</a>() returns the smallest size the widget can have. -<li> <a href="tqwidget.html#sizePolicy">TQWidget::sizePolicy</a>() returns a <a href="ntqsizepolicy.html">TQSizePolicy</a>; a value describing +<li> <a href="tqwidget.html#sizePolicy">TQWidget::sizePolicy</a>() returns a <a href="tqsizepolicy.html">TQSizePolicy</a>; a value describing the space requirements of the widget. </ul> <p> Call <a href="tqwidget.html#updateGeometry">TQWidget::updateGeometry</a>() whenever the size hint, minimum size hint or size policy changes. This will cause a layout recalculation. Multiple calls to updateGeometry() will only cause one recalculation. <p> If the preferred height of your widget depends on its actual width -(e.g. a label with automatic word-breaking), set the <a href="ntqsizepolicy.html#hasHeightForWidth">hasHeightForWidth</a>() flag in +(e.g. a label with automatic word-breaking), set the <a href="tqsizepolicy.html#hasHeightForWidth">hasHeightForWidth</a>() flag in <a href="tqwidget.html#sizePolicy">sizePolicy</a>(), and reimplement <a href="tqwidget.html#heightForWidth">TQWidget::heightForWidth</a>(). <p> Even if you implement heightForWidth(), it is still necessary to provide a good sizeHint(). The sizeHint() provides the preferred width |