This commit is contained in:
parent
0ae1d7e625
commit
49294dc975
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ static void draw(MwWidget handle) {
|
|||
|
||||
if(title != NULL) {
|
||||
MwPoint p;
|
||||
p.x = r2.x + (TitleHeight - ButtonSize);
|
||||
p.x = r2.x + (TitleHeight - ButtonSize) / 2;
|
||||
p.y = r2.y + TitleHeight / 2;
|
||||
handle->bgcolor = tb;
|
||||
MwDrawText(handle, NULL, &p, title, MwALIGNMENT_BEGINNING, tf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue