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

Position of the widget in Taskbar - Overlapped with another widget! #8

Closed sfksuperman closed 3 months ago

sfksuperman commented 4 months ago

Can we adjust the position of the widget across the taskbar (because it's overlapping with another widget which I have to show network speed)?

image

Khiro95 commented 4 months ago

That's a good challenge, will try it.

Khiro95 commented 4 months ago

@sfksuperman Unrelated question: Are you using a display scale other than 100%? Because in your screenshot the widget look clipped.

sfksuperman commented 4 months ago

As per my Windows setting, it is set to 125%. Also, check the latest image below (after fixing the location issue).

image

Khiro95 commented 4 months ago

Thank you very much

Khiro95 commented 4 months ago

In the next version, overlapping issue is fixed at taskbar root level. I will see if I can continue with other levels as well. fix_overlapping

sfksuperman commented 4 months ago

If I suggest,

Below changes can be made as per the screenshot for reference:

image

Keep the countdown timing in smaller font size and if possible, then add the seconds as well.

Khiro95 commented 4 months ago

Keep the countdown timing in smaller font size and if possible, then add the seconds as well.

There are some considerations regarding widget's pane on the taskbar:

So here are some issues that I see in your suggestion:

However, the suggestion for displaying the seconds in countdown is feasible.

Also I want to let you know that I'm already thinking to add compact mode where widget's width become smaller and then alternate the display of the next prayer time and countdown. It means that, for example, the widget shows prayer time for a second then display the countdown in the next second then repeat.

Thanks for the suggestion and let me know what you think.

sfksuperman commented 4 months ago

That's a great idea, but regarding the screen resolution, even my 14-inch small laptop has default 125% zoom, and on 17-inch laptops have the same 125% or 150% (rare, never seen). But still, the wording should not break so yeah you can keep the font size workable in all screen resolutions (100% or 125%).

Seconds is crazy to have this feature, tick tok tick tok 😂

Khiro95 commented 4 months ago

That's a great idea, but regarding the screen resolution, even my 14-inch small laptop has default 125% zoom, and on 17-inch laptops have the same 125% or 150% (rare, never seen). But still, the wording should not break so yeah you can keep the font size workable in all screen resolutions (100% or 125%).

Your laptops most probably have high-resolution screens such as QHD or even 4K :) That's why Windows will look very small and need to increase the scale

Seconds is crazy to have this feature, tick tok tick tok 😂

I used to show the seconds in the clock of my laptop in the past, it's very helpful :)

Khiro95 commented 3 months ago

@sfksuperman v3.1 is released now, the widget should no longer overlap other widgets as long as there is enough space. Also you can enable seconds in the countdown.

I will close this issue but feel free to re-open it if you find something not working.

sfksuperman commented 3 months ago

Wow! image