aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeView.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp
index 93902e8..e8364ec 100644
--- a/src/gui/NodeView.cpp
+++ b/src/gui/NodeView.cpp
@@ -35,12 +35,15 @@ NodeView::NodeView(Gtk::Window* window,
SPtr<machina::client::ClientObject> node,
double x,
double y)
- : Ganv::Circle(canvas, "", x, y, 20, false)
+ : Ganv::Circle(canvas, "", x, y)
, _window(window)
, _node(node)
, _default_border_color(get_border_color())
, _default_fill_color(get_fill_color())
{
+ set_fit_label(false);
+ set_radius_ems(1.25);
+
signal_event().connect(sigc::mem_fun(this, &NodeView::on_event));
MachinaCanvas* mcanvas = dynamic_cast<MachinaCanvas*>(&canvas);