mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Check the min. window sizes
* on smaller screens makes sure the min.sizes are not exceeded * normally not changing min.sizes
This commit is contained in:
@@ -170,6 +170,9 @@ namespace BlackGui
|
||||
//! Forces a stylesheet update
|
||||
static void forceStyleSheetUpdate(QWidget *widget);
|
||||
|
||||
//! Make sure that the min.sizes to not exceed the screen resolution
|
||||
static void superviseMainWindowMinSizes(qreal wRatio = 0.85, qreal hRatio = 0.85);
|
||||
|
||||
private:
|
||||
//! Constructor, use static methods only
|
||||
CGuiUtility() {}
|
||||
|
||||
Reference in New Issue
Block a user