refactor: remove "auto" in window-size behavior

- "auto" is not essential for our hard fork, so i simply remove it.
- remove all useless code after removing it.
- enlarge the min size of window because previous may trigger bad layout when showing navigation view.
This commit is contained in:
yyc12345 committed 2026-07-24 15:14:24 +08:00
1 parent b1d12cc406
commit b54cde2cbf
4 files changed
+3 -42

No files matched your search

-2
View File
@@ -17,9 +17,7 @@ public:
};
Q_ENUM(MouseWheelBehavior)
// TODO: I want to remove Auto behavior in future.
enum WindowSizeBehavior {
Auto,
Maximized,
Windowed,
};