diff options
author | David Robillard <d@drobilla.net> | 2012-05-22 21:44:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-22 21:44:04 +0000 |
commit | b26030b705a5ebbd04231751cddef8e6a879e04e (patch) | |
tree | 14658d0d01e57e962f42e60f62dd4c66bf5e47c4 | |
parent | f2388799b7f4fd1778406f88755f8184b8de058f (diff) | |
download | ganv-b26030b705a5ebbd04231751cddef8e6a879e04e.tar.gz ganv-b26030b705a5ebbd04231751cddef8e6a879e04e.tar.bz2 ganv-b26030b705a5ebbd04231751cddef8e6a879e04e.zip |
Size modules large enough to fit label with downward signal flow.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4438 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index 7ce114e..83d127b 100644 --- a/src/module.c +++ b/src/module.c @@ -377,7 +377,7 @@ resize_down(GanvModule* module) ganv_box_set_height(GANV_BOX(module), height); ganv_box_set_width(GANV_BOX(module), - MAX(in_x, out_x) + port_breadth + PAD); + MAX(title_w, MAX(in_x, out_x) + port_breadth) + PAD); place_title(module, GANV_DIRECTION_DOWN); } |