* Show graph legend via 'legend' command or '?' button in the lower right corner * Legend is not interactive: nodes and edges not clickable or moveable * CXX and Java node types are mixed
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "qt/view/graphElements/QtGraphNodeText.h"
|
||||
|
||||
QtGraphNodeText::QtGraphNodeText(const std::wstring& name)
|
||||
QtGraphNodeText::QtGraphNodeText(const std::wstring& name, int fontSizeDiff)
|
||||
: m_fontSizeDiff(fontSizeDiff)
|
||||
{
|
||||
setName(name);
|
||||
}
|
||||
@@ -16,5 +17,5 @@ bool QtGraphNodeText::isTextNode() const
|
||||
|
||||
void QtGraphNodeText::updateStyle()
|
||||
{
|
||||
setStyle(GraphViewStyle::getStyleOfTextNode());
|
||||
setStyle(GraphViewStyle::getStyleOfTextNode(m_fontSizeDiff));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user