Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Different size widgets are not perfectly aligned to the left/right sides of the screen #12676

Closed
iorgamgabriel opened this issue Aug 22, 2022 · 0 comments · Fixed by #12677 or nathanmkaya/android-components#362
Assignees
Milestone

Comments

@iorgamgabriel
Copy link
Contributor

iorgamgabriel commented Aug 22, 2022

Steps to reproduce
Long tap on the home screen of the device.
Set a widget for Focus Nightly.
Resize the widget to all available options.
Observe if the widget alignment to left/right.
Expected behavior
The the widget alignment to left/right is consistent on all sizes.

Actual behavior
On phone devices, the 2x1 size is not perfectly aliened and additional space is left out on both sides.
On tablet device portrait mode, the 2x1 size is not perfectly aliened and additional space is left out on both sides.
On tablet device landscape mode, the 1x1 and 2x1 sizes are not perfectly aliened and additional space is left out on both sides.

Device information
Android device: Xiaomi 12 Pro (Android 12), Lenovo Yoga Tab 11 (Android 11).
Focus version: Nightly 105.a01 from 08/22. Also reproducible on Fenix.

This was initial reported on Focus
mozilla-mobile/focus-android#7528

┆Issue is synchronized with this Jira Task

iorgamgabriel added a commit to iorgamgabriel/android-components that referenced this issue Aug 22, 2022
…gned to the left/right sides of the screen
@iorgamgabriel iorgamgabriel self-assigned this Aug 22, 2022
iorgamgabriel added a commit to iorgamgabriel/android-components that referenced this issue Aug 23, 2022
…gned to the left/right sides of the screen
iorgamgabriel added a commit to iorgamgabriel/android-components that referenced this issue Aug 23, 2022
@mergify mergify bot closed this as completed in #12677 Aug 23, 2022
@github-actions github-actions bot added this to the 106.0.0 ⛈ milestone Aug 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.