ui: new file node style with icon

This commit is contained in:
Eberhard Graether
2015-09-08 17:08:33 +02:00
parent a7ec6772ff
commit 934c70272d
10 changed files with 51 additions and 10 deletions
@@ -695,6 +695,8 @@ void GraphController::layoutNestingRecursive(DummyNode& node) const
width = margins.charWidth * node.data->getName().size();
}
width += margins.iconWidth;
if (node.data->isType(Node::NODE_CLASS | Node::NODE_STRUCT) && node.subNodes.size())
{
addExpandToggleNode(node);