diff --git a/src/toolkit.c b/src/toolkit.c index a82d616..70aa526 100644 --- a/src/toolkit.c +++ b/src/toolkit.c @@ -828,10 +828,10 @@ static void toolkit_renderCust(Widget* cst, double bx, double by) { if(cst->dat.cst.border) { // Inner outline. - toolkit_drawOutline(x, y, cst->w, cst->h, 0., + toolkit_drawOutline(x-1, y+1, cst->w+1, cst->h+1, 0., toolkit_colLight, toolkit_col); // Outter outline. - toolkit_drawOutline(x, y, cst->w, cst->h, 2., + toolkit_drawOutline(x-1, y, cst->w+1, cst->h+1, 1., toolkit_colDark, NULL); } (*cst->dat.cst.render) (x, y, cst->w, cst->h);