Messages: move window to top of screen

User request.
This commit is contained in:
2016-11-22 11:01:30 +01:00
parent e46d65fb92
commit 644063d2c8
2 changed files with 4 additions and 3 deletions

View File

@@ -204,7 +204,8 @@ void CMsgBox::initButtons()
ccw_footer->enableButtonShadow(CC_SHADOW_ON, OFFSET_SHADOW/2, true);
//set position of meassage window and refresh window properties
setCenterPos();
setCenterPos(CC_ALONG_X);
y = frameBuffer->getScreenY() + ((frameBuffer->getScreenHeight() - height) >> 2),
Refresh();
//set the 1st button as default selected button