diff options
-rw-r--r-- | generic/Tabular.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/Tabular.c b/generic/Tabular.c index 532d573..79fe072 100644 --- a/generic/Tabular.c +++ b/generic/Tabular.c @@ -289,6 +289,15 @@ ComputeCoordinates(ZnItem item, item->item_bounding_box.orig = field_set->label_pos; item->item_bounding_box.corner.x = field_set->label_pos.x + width; item->item_bounding_box.corner.y = field_set->label_pos.y + height; + /* + * Need to slightly increase the bbox for GL thick lines + */ +#ifdef GL + item->item_bounding_box.orig.x -= 1; + item->item_bounding_box.orig.y -= 1; + item->item_bounding_box.corner.x += 1; + item->item_bounding_box.corner.y += 1; +#endif /* * Update connected items. |