ui: new style for bundle node
This commit is contained in:
@@ -704,7 +704,7 @@ void GraphController::layoutNestingRecursive(DummyNode& node) const
|
||||
}
|
||||
else if (node.isBundleNode())
|
||||
{
|
||||
width = margins.charWidth * (node.name.size() + 1 + utility::digits(node.bundledNodes.size()));
|
||||
width = margins.charWidth * node.name.size();
|
||||
}
|
||||
|
||||
// Horizontal layouting is currently not used, but left in place for experimentation.
|
||||
|
||||
@@ -134,6 +134,11 @@ size_t GraphViewStyle::getFontSizeOfExpandToggleNode()
|
||||
return s_fontSize - 5;
|
||||
}
|
||||
|
||||
size_t GraphViewStyle::getFontSizeOfCountCircle()
|
||||
{
|
||||
return s_fontSize - 3;
|
||||
}
|
||||
|
||||
std::string GraphViewStyle::getFontNameForNodeType(Node::NodeType type)
|
||||
{
|
||||
return s_fontName;
|
||||
|
||||
@@ -98,6 +98,7 @@ public:
|
||||
static size_t getFontSizeForNodeType(Node::NodeType type);
|
||||
static size_t getFontSizeOfAccessNode();
|
||||
static size_t getFontSizeOfExpandToggleNode();
|
||||
static size_t getFontSizeOfCountCircle();
|
||||
|
||||
static std::string getFontNameForNodeType(Node::NodeType type);
|
||||
static std::string getFontNameOfAccessNode();
|
||||
|
||||
Reference in New Issue
Block a user