Update to check both width and height at the same time.
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
This commit is contained in:
@@ -261,7 +261,7 @@ namespace AzQtComponents
|
||||
geo.setWidth(screenGeometry.width());
|
||||
}
|
||||
}
|
||||
else if (geo.height() > screenGeometry.height())
|
||||
if (geo.height() > screenGeometry.height())
|
||||
{
|
||||
auto guestMinimumHeight = m_guestWidget->minimumHeight();
|
||||
if (guestMinimumHeight && guestMinimumHeight <= screenGeometry.height())
|
||||
|
||||
Reference in New Issue
Block a user