From b26030b705a5ebbd04231751cddef8e6a879e04e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 May 2012 21:44:04 +0000 Subject: 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 --- src/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.1