From a200ac09829c867b5dcb9f106a333ebbf0126a95 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 6 Oct 2019 12:38:56 -0700 Subject: Mobile: need to recalculate column width when rotating Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 150c6d1ed..c44143fe1 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -589,6 +589,7 @@ if you have network connectivity and want to sync your data to cloud storage."), } else if (rootItem.lastOrientation !== undefined && rootItem.lastOrientation != Screen.primaryOrientation) { console.log("Screen rotated, no action necessary") rootItem.lastOrientation = Screen.primaryOrientation + setupUnits() } else { console.log("size change without rotation to " + width + " x " + height) if (width > subsurfaceTheme.initialWidth) { -- cgit v1.2.3-70-g09d2