We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d24625 commit e359024Copy full SHA for e359024
modules/ti.UI/win32/win32_user_window.cpp
@@ -1355,6 +1355,16 @@ void Win32UserWindow::GetMinMaxInfo(MINMAXINFO* minMaxInfo)
1355
if (!minMaxInfo)
1356
return;
1357
1358
+
1359
+ // If we are in fullscreen mode, minimum and maximum constraints
1360
+ // should not apply, so just send the defaults back.
1361
+ if (this->IsFullscreen())
1362
+ {
1363
+ minMaxInfo->ptMaxTrackSize.x = minMaxInfo->ptMaxTrackSize.y = INT_MAX;
1364
+ minMaxInfo->ptMinTrackSize.x = minMaxInfo->ptMinTrackSize.y = 0;
1365
+ return;
1366
+ }
1367
1368
int maxWidth = (int) GetMaxWidth();
1369
int minWidth = (int) GetMinWidth();
1370
int maxHeight = (int) GetMaxHeight();
0 commit comments