enisn / UraniumUI

Uranium is a Free & Open-Source UI Kit for MAUI.
Apache License 2.0
1.13k stars 131 forks source link

UraniumContentPage does not resize controls properly when changing orientation on iPad #731

Open codychaplin opened 1 month ago

codychaplin commented 1 month ago

As the title states, some controls do not resize when changing orientation on iPad. This just happens when switching from landscape to portrait, as you can see below, the buttons keep their width and extend off the right side of the screen. I have not tested on an Android tablet but this does not happen on Android and iOS phones, just iPad. I created a repo to reproduce here: https://github.com/codychaplin/test

See screenshots below (vertically cropped the screenshots to save space) Portrait: Simulator Screenshot - iPad (10th generation) - 2024-08-05 at 08 41 12

Landscape: Simulator Screenshot - iPad (10th generation) - 2024-08-05 at 08 41 15

Switched back to portrait: Simulator Screenshot - iPad (10th generation) - 2024-08-05 at 08 41 18

enisn commented 2 days ago

I'll work on ContentPage and overhaul it. Current logic is not the best right now, it works like a layer on an existing page.