From a569bbfc1eaf2ac67e151c27ee674107a589f93d Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 16 Aug 2015 22:20:53 +1000 Subject: [PATCH] Border fix --- src/gwin/gwin_textedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gwin/gwin_textedit.c b/src/gwin/gwin_textedit.c index 70a5f8f0..1395ab71 100644 --- a/src/gwin/gwin_textedit.c +++ b/src/gwin/gwin_textedit.c @@ -219,7 +219,7 @@ static void gwinTexteditDefaultDraw(GWidgetObject* gw, void* param) gdispGDrawBox(gw->g.display, gw->g.x, gw->g.y, gw->g.width, gw->g.height, (gw->g.flags & GWIN_FLG_SYSENABLED) ? gw->pstyle->enabled.edge : gw->pstyle->disabled.edge); // Render highlighted border of focused - _gwidgetDrawFocusRect(gw, 0, 0, gw->g.width-1, gw->g.height-1); + _gwidgetDrawFocusRect(gw, 1, 1, gw->g.width-2, gw->g.height-2); // Render cursor (if focused) if (gwinGetFocus() == (GHandle)gw) {