Account for the screen gap being scaled with the window size
Fixes #1430
This commit is contained in:
parent
86786738cc
commit
37e5e2c3c0
|
@ -828,7 +828,7 @@ void ScreenHandler::screenSetupLayout(int w, int h)
|
||||||
QSize ScreenHandler::screenGetMinSize(int factor = 1)
|
QSize ScreenHandler::screenGetMinSize(int factor = 1)
|
||||||
{
|
{
|
||||||
bool isHori = (Config::ScreenRotation == 1 || Config::ScreenRotation == 3);
|
bool isHori = (Config::ScreenRotation == 1 || Config::ScreenRotation == 3);
|
||||||
int gap = Config::ScreenGap;
|
int gap = Config::ScreenGap * factor;
|
||||||
|
|
||||||
int w = 256 * factor;
|
int w = 256 * factor;
|
||||||
int h = 192 * factor;
|
int h = 192 * factor;
|
||||||
|
|
Loading…
Reference in New Issue