Prechádzať zdrojové kódy

Set Minimum Size to the same as renderwindow

James Rowe 7 rokov pred
rodič
commit
3740adb6f5
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/yuzu/loading_screen.cpp

+ 1 - 0
src/yuzu/loading_screen.cpp

@@ -69,6 +69,7 @@ LoadingScreen::LoadingScreen(QWidget* parent)
     : QWidget(parent), ui(std::make_unique<Ui::LoadingScreen>()),
     : QWidget(parent), ui(std::make_unique<Ui::LoadingScreen>()),
       previous_stage(VideoCore::LoadCallbackStage::Complete) {
       previous_stage(VideoCore::LoadCallbackStage::Complete) {
     ui->setupUi(this);
     ui->setupUi(this);
+    setMinimumSize(1280, 720);
 
 
     connect(this, &LoadingScreen::LoadProgress, this, &LoadingScreen::OnLoadProgress,
     connect(this, &LoadingScreen::LoadProgress, this, &LoadingScreen::OnLoadProgress,
             Qt::QueuedConnection);
             Qt::QueuedConnection);