forked from pyrite-dev/milsko
fix text positioning on entry
This commit is contained in:
parent
bf9474f4f4
commit
414fde9b77
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ static void draw(MwWidget handle) {
|
||||||
int attr;
|
int attr;
|
||||||
MwRect currc;
|
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;
|
p.y = r.height / 2;
|
||||||
|
|
||||||
len = (r.width - p.x * 2) / w;
|
len = (r.width - p.x * 2) / w;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue