diff options
author | David Robillard <d@drobilla.net> | 2015-02-14 04:44:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-14 04:44:51 +0000 |
commit | 058d8471556bd796be914b7b0cd09e52c3b3cfc8 (patch) | |
tree | 693f99c40636e26b690b42e78aad0fd68f815df6 /src/port.c | |
parent | 477faad778ff39312d4c937501b09dd7d81c5182 (diff) | |
download | ganv-058d8471556bd796be914b7b0cd09e52c3b3cfc8.tar.gz ganv-058d8471556bd796be914b7b0cd09e52c3b3cfc8.tar.bz2 ganv-058d8471556bd796be914b7b0cd09e52c3b3cfc8.zip |
Use the same border width for ports and modules.
Makes edges line up more nicely, if at a wee cost to space.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5560 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r-- | src/port.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -443,7 +443,7 @@ ganv_port_new(GanvModule* module, node->impl->can_tail = !is_input; node->impl->can_head = is_input; node->impl->draggable = FALSE; - node->impl->border_width = 1.0; + node->impl->border_width = 2.0; GanvCanvas* canvas = ganv_item_get_canvas(GANV_ITEM(port)); ganv_port_set_direction(port, ganv_canvas_get_direction(canvas)); @@ -500,7 +500,7 @@ ganv_port_show_control(GanvPort* port) "y2", ganv_box_get_height(&port->box), "fill-color", color, "border-color", color, - "border-width", 0.0,//node->impl->border_width, + "border-width", 0.0, "managed", TRUE, NULL)); ganv_item_show(GANV_ITEM(control->rect)); |