aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/saveload-dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp
index 4bd71d39cf..f159a12ff2 100644
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -475,9 +475,11 @@ void SaveLoadChooserSimple::reflowLayout() {
int textLines = 0;
if (!_saveDateSupport)
- textLines++;
+ textLines += 2;
if (!_playTimeSupport)
textLines++;
+ if (_saveDateSupport || _playTimeSupport)
+ textLines--; // add a line of padding at the bottom
_container->resize(x, y, w, h - (kLineHeight * textLines));
_gfxWidget->resize(thumbX, thumbY, thumbW, thumbH);