Two minor formatting fixes

This commit is contained in:
thrust26 2020-04-30 16:11:08 +02:00
parent 3de15a4250
commit 50137b8fa6
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ CommandDialog::CommandDialog(OSystem& osystem, DialogContainer& parent)
const int lineHeight = _font.getLineHeight(),
fontHeight = _font.getFontHeight(),
fontWidth = _font.getMaxCharWidth(),
buttonHeight = _font.getLineHeight() * 1.5,
buttonHeight = _font.getLineHeight() * 1.25,
buttonWidth = _font.getStringWidth("Time Machine On") + fontWidth * 2;
const int VBORDER = fontHeight / 2;
const int HBORDER = fontWidth * 1.25;

View File

@ -263,7 +263,7 @@ TimeMachineDialog::TimeMachineDialog(OSystem& osystem, DialogContainer& parent,
xpos = myLoadAllWidget->getRight() + BUTTON_GAP * 4;
// Add message
myMessageWidget = new StaticTextWidget(this, font, xpos, ypos + 3,
myMessageWidget = new StaticTextWidget(this, font, xpos, ypos_s,
" ", TextAlign::Left, kBGColor);
myMessageWidget->setTextColor(kColorInfo);
}