Codechange: Add internal widget alignment property, along with widget part.

This commit is contained in:
Peter Nelson
2021-04-19 12:12:07 +01:00
committed by PeterN
parent 2a0365b3d9
commit 636e37d183
6 changed files with 142 additions and 55 deletions

View File

@@ -422,7 +422,7 @@ struct NewsWindow : Window {
{
switch (widget) {
case WID_N_CAPTION:
DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, STR_NEWS_MESSAGE_CAPTION);
DrawCaption(r, COLOUR_LIGHT_BLUE, this->owner, STR_NEWS_MESSAGE_CAPTION, SA_HOR_CENTER);
break;
case WID_N_PANEL: