QDoc: Fixed section title offset in QML basic type pages.

-QML basic type page layout is now separate from the other
 doc page layouts, but the section offset was incorrect.
-the offset is the same as the QML type pages.

Change-Id: I422e97eebe58a87c11607f2c8c5aedb10abbda7e
Task-number: QTBUG-40335
Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
Jerome Pasion 2014-07-21 15:30:37 +02:00
parent bd9d1f83f9
commit b5b4eb742c

View File

@ -3922,6 +3922,7 @@ int HtmlGenerator::hOffset(const Node *node)
case Node::Namespace: case Node::Namespace:
case Node::Class: case Node::Class:
return 2; return 2;
case Node::QmlBasicType:
case Node::QmlType: case Node::QmlType:
case Node::Document: case Node::Document:
return 1; return 1;