diff options
author | Topi Reinio <topi.reinio@qt.io> | 2017-02-09 11:38:30 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-03-08 10:09:22 +0000 |
commit | b5b8f3450ca302743a9ecc0b282e95cb3d043468 (patch) | |
tree | 553013ccd1cbd7fd08fc7a542e0cf9e29f990c04 /doc | |
parent | 4d22a69b8c82c5f1e4cc746a95afc43be7e66893 (diff) |
Doc: Prevent Product Item property table from overflowing
The online style has limited horizontal space, and code blocks
within tables often result in partially hidden content, with a
scrollbar at the bottom.
To work around this, wrap the comments in the code snippet and
reduce its font size.
Change-Id: I5ceca23f99b521909f9bf3c869a45f89edb3dd8c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/items/language/product.qdoc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/reference/items/language/product.qdoc b/doc/reference/items/language/product.qdoc index 2f71e97e3..5b960305d 100644 --- a/doc/reference/items/language/product.qdoc +++ b/doc/reference/items/language/product.qdoc @@ -92,14 +92,18 @@ \li The name of the product. Used to identify the product in a \c Depends item, for example. The value of this property must be a simple JavaScript expression that does not depend on module properties or values that are non-local to this product. + \div {style="font-size:80%"} \code CppApplication { - name: "hello" + "world" // valid + name: "hello" + "world" + // valid } CppApplication { - name: "app_for_" + qbs.targetOS.join("_") // invalid + name: "app_" + qbs.targetOS.join("_") + // invalid } \endcode + \enddiv To change the name of your product's target artifact, modify \c{Product.targetName} instead. \row |