diff options
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r-- | src/gui/shopwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 0f14d8ad5..db360fd33 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -125,7 +125,10 @@ ShopWindow::ShopWindow(): setStickyButtonLock(true); setMinWidth(260); setMinHeight(220); - setDefaultSize(380, 300, ImageRect::CENTER); + if (mainGraphics->mWidth > 600) + setDefaultSize(500, 300, ImageRect::CENTER); + else + setDefaultSize(380, 300, ImageRect::CENTER); mAnnounceCounter[BUY] = 0; mAnnounceCounter[SELL] = 0; |