mvmike / min-cal-widget

Minimal calendar widget
BSD 3-Clause "New" or "Revised" License
88 stars 15 forks source link

Height problem #201

Open jared-chen opened 11 months ago

jared-chen commented 11 months ago

Checklist

Describe the bug

Only at 52, the height of the widget is 2. Otherwise, no matter 42, 32, 22, the height is only about 1.5.

Steps To Reproduce

resize the widget to 5*2 then reboot or change system language, the height will be full height. otherwise , the height is 1.5.

Expected Behavior

I think the height should be full height without being cut off. But I found that many apps have same problem, including the month view of Google Calendar widget, but the schedule view of Google Calendar widget displays full height regardless of the width.

Affected app version

2.13.0

Device

realme narzo 50 pro

Android version

14

Launcher

realme ui 13.0.15

Additional context and screenshots

Screenshot_2023-11-08-16-14-08-98_b783bf344239542886fee7b48fa4b892

mvmike commented 11 months ago

Hi @jared-chen,

Could not reproduce the behaviour with three different launchers on the emulator, seems that this bug is generated by the launcher you're using rather than the widget itself (you already mention that many apps have the same problem, including the month view of Google Calendar widget). In any case, the widget only has min height and width values, it does not enforce any height cut at any specific width.

Since this is not something that can be fixed in this repository, will close the issue. However, if you find any open source widget that does not have this bug feel free to reopen it so I can investigate what's the difference.

jared-chen commented 6 months ago

I found an open source widget Screenshot_2024-04-13-23-39-57-30_b783bf344239542886fee7b48fa4b892 "10-bitClockWidgetthat" does not have this bug.

My Android version is 13.

mvmike commented 6 months ago

Thanks, will have a look!

https://github.com/ashutoshgngwr/10-bitClockWidget