From fbcab7d28641039747eed1829de922478588b3a3 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Wed, 4 Oct 2017 16:15:46 +0200 Subject: [PATCH] fixed #236 by making the launcher dialogs slightly larger. Also limited emulator dialogs to the same size. --- src/gui/LauncherDialog.cxx | 2 +- src/gui/Menu.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/LauncherDialog.cxx b/src/gui/LauncherDialog.cxx index d935ee799..3fc4a5f33 100644 --- a/src/gui/LauncherDialog.cxx +++ b/src/gui/LauncherDialog.cxx @@ -164,7 +164,7 @@ LauncherDialog::LauncherDialog(OSystem& osystem, DialogContainer& parent, // Create an options dialog, similar to the in-game one myOptions = make_unique(osystem, parent, this, - int(w * 0.8), int(h * 0.8), true); + int(w * 0.85), int(h * 0.85), true); // Create a game list, which contains all the information about a ROM that // the launcher needs diff --git a/src/gui/Menu.cxx b/src/gui/Menu.cxx index 41f62046c..c0f58266c 100644 --- a/src/gui/Menu.cxx +++ b/src/gui/Menu.cxx @@ -26,5 +26,5 @@ Menu::Menu(OSystem& osystem) : DialogContainer(osystem) { myBaseDialog = new OptionsDialog(myOSystem, *this, 0, - FrameBuffer::kFBMinW, FrameBuffer::kFBMinH, false); + int(FrameBuffer::kFBMinW * 0.85), int(FrameBuffer::kFBMinH * 0.85), false); }