Pablo
04/30/2025, 3:12 PMAlex Vanyo
04/30/2025, 9:57 PMcan a device be windowsizeclass height and width expanded at the same time?Yes - the height and width size classes are independent: a window could be in an expanded width and a compact height, or it could be at a compact width but an expanded height
Alex Vanyo
04/30/2025, 9:58 PMPablo
05/05/2025, 9:52 AMAlex Vanyo
05/05/2025, 7:00 PMPablo
05/06/2025, 8:32 AMval windowWidthSizeClass = currentWindowAdaptiveInfo().windowSizeClass.windowWidthSizeClass
if (windowWidthSizeClass == WindowWidthSizeClass.EXPANDED) {
I got a huge issue, and it's that in devices with small screen, for example, small phones, width is never expanded, so I get the "portrait" style interface always, even when the device is in landscape