diff --git a/src/widget/entry.c b/src/widget/entry.c index 9c6ed12..47307fc 100644 --- a/src/widget/entry.c +++ b/src/widget/entry.c @@ -48,7 +48,7 @@ static void draw(MwWidget handle) { int attr; MwRect currc; - p.x = (r.width - (r.width / w * w)) / 2; + p.x = (r.width - (r.width / w * w)) / 2 + (MwGetInteger(handle, MwNisRounded) ? MwGetInteger(handle, MwNroundness) : 0); p.y = r.height / 2; len = (r.width - p.x * 2) / w;