LawnchairLauncher / lawnchair

No clever tagline needed.
https://lawnchair.app
Other
9.48k stars 1.23k forks source link

Widgets are narrower than app icons #4712

Open GRA0007 opened 3 months ago

GRA0007 commented 3 months ago

Describe the bug

In the stock pixel launcher app, I have the grid size set to 5x5, and I have a 1x1 widget built with KWGT to replicate an app icon. The same widget on Lawnchair 14 (beta 3) is too narrow and cannot display the whole icon at the same size as other icons without being clipped.

Steps to reproduce

  1. Set your grid size to 5x5
  2. Place any widget
  3. Notice that it appears narrower on Lawnchair vs the stock pixel launcher
  4. Use a ruler and notice that the app icons are actually bigger than the width of a 1x1 widget

Expected behavior

The width of the widgets placed in Lawnchair should match the stock pixel launcher. Or, there should be an option to customise the gap size/padding between and around widgets on the home screen.

Screenshots

Stock pixel launcher Lawnchair 14 (beta 3)
Screenshot_20240825-020529 Screenshot_20240825-020515

Notice the selected widget in green.

Device information

Additional context

No response

sarojpanda44 commented 2 months ago

Bit off track. What's the app name for this widget? Thanks.

GRA0007 commented 2 months ago

As I mentioned above the app I'm using in my example is KWGT, however it's not an issue with just that app, the problem is that all widgets have too much spacing in between them horizontally.

sarojpanda44 commented 2 months ago

I wrote off track because I want that widget 😃 Can you share the kwgt widget?

GRA0007 commented 2 months ago

Ah I see, yes I can, it's for my bank Up and relies on a variable that's sent from Tasker, but feel free to take a look/modify it.

https://drive.google.com/file/d/1Ie5lXLuLxj0Hx-u4MLc74oej2oGc1LNS/view?usp=drivesdk

alcoolfire commented 2 months ago

I believe I'm seeing the same widget-sizing problem on my Pixel 3a running Android 12 for two different widgets:

These both looked good prior to the 14 beta 3 update.

After the update, the digital clock display in the Clock widget had its font size greatly reduced. Obviously the widget detected the smaller space available but has only a few discrete font sizes to choose from.

The WeatherCAN widget used to show a timestamp on a single line along its bottom, beneath the larger current temperature reading. Now it's behind the temperature because the smaller available space has caused it to wrap onto two lines.

Screenshot:

Screenshot_20240827-183020,edit