Khiro95 / Awqat-Salaat

A simple Windows widget to show the time of the next prayer alongside a countdown on the taskbar.
MIT License
47 stars 2 forks source link

Remaining time is not showing #21

Closed sfksuperman closed 2 months ago

sfksuperman commented 3 months ago

I installed AwqatSalaat.WinUI_Release-x64.msi in my Windows 11 but it's not showing the remaining time of next prayer.

image

But if I change the language to Arabic, it displays:

image

Khiro95 commented 3 months ago

Hi @sfksuperman,

I think it's the issue of the space not being enough to show both the time and the countdown because one of these columns has larger width than expected, thus the 2nd column disappear. That's exactly the same issue as #16. Although I've made tests to check that the space is enough, it seems that changing display scale has a side effect on size calculation precision.

However, I've made changes to that area in the next version (to support compact mode) and that issue should be gone for good since I have enlarged the width a little.

Thank you for raising this issue, I now have to make sure to check different display scales before releasing updates to avoid such issues again 😅

sfksuperman commented 3 months ago

Thank you, @Khiro95. My work laptop is set to 125%, while my personal laptop is set to 150%. This clearly indicates that screen resolution has a direct impact.

Khiro95 commented 2 months ago

@sfksuperman This issue is now fixed in v3.2