Closed xmha97 closed 2 years ago
I can't reproduce with a Samsung S10e, but I can with a Samsung S7. I'll take a closer look.
I can't reproduce
Use Microsoft Launcher
I tried the MS launcher with my Samsung S10e, and I see the same padding as you do. But I also see that the widget from Google Photos has the same padding... For the widgets on your screenshots that take the full frame, do they come from MS proprietary apps? Do you know any open-source app that has a full frame widget with the MS launcher?
For the widgets on your screenshots that take the full frame, do they come from MS proprietary apps?
No, these are the default widgets of Xiaomi phones
Do you know any open-source app that has a full frame widget with the MS launcher?
Yes, the Persian Calendar app: https://github.com/persian-calendar/persian-calendar
TLDR; the MS Launcher is broken, they should fix it.
Here's a comparison of the Samsung and MS launchers showing widgets from Google Photos (G
), Aves (A
) and Persian Calendar (P
):
The Persian Calendar highlights something interesting. The widget itself, with its background color, is full frame, but the custom drawing is limited to the widget size reported by the MS Launcher, so its drawing is the same width as the images in the Google Photos or Aves widgets. So background colors, text and other elements that do not depend on the widget size can go full frame, but elements that need to know the widget size (like custom drawing or cropped/scaled images) do not go full frame because the MS Launcher gives the wrong size.
I tested your widget in Smart Launcher, there are margins around like Microsoft Launcher! Please test the widget again. @deckerst
Thanks for following up, but my guess is that this launcher also provides the wrong metrics for custom drawing. Please try another app that has a widget with custom drawing (not just a plain color background), like Google Photos, and I bet you'll see the same issue.
Google Photos widget is bad on my device, low corners!
It's default Xiaomi launcher:
Tried Smart Launcher. Again, wrong metrics given by the launcher, as i suspected.
Please fit the widget in the frame.