diff options
| author | Aotrix <[email protected]> | 2026-02-05 21:46:49 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-02-05 21:46:49 +0100 |
| commit | 40d7764631a85062afabd16f5c580ab6e26c092a (patch) | |
| tree | 80c3d56c2add13e666ae6a73f1353e390ead60cc /gameView | |
| parent | 7d8d2f14ab93935732c059cc4698ea7b154f7e40 (diff) | |
Set floating window property
Diffstat (limited to 'gameView')
| -rw-r--r-- | gameView/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gameView/main.cpp b/gameView/main.cpp index dcbd4d9..838f147 100644 --- a/gameView/main.cpp +++ b/gameView/main.cpp @@ -11,7 +11,9 @@ int main(int argc, char *argv[]) { QApplication aApplication(argc, argv); QWidget aWindow; - aWindow.resize(1200, 1000); + aWindow.resize(500, 700); + // Set Dialog flag for i3 users + aWindow.setWindowFlag(Qt::WindowType::Dialog); QGridLayout aLayout(&aWindow); QListWidget aListWidget; |
