fix text positioning on entry

This commit is contained in:
IoI_xD 2026-03-26 22:53:20 -07:00
commit 414fde9b77

View file

@ -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;