weather-widget-2 icon indicating copy to clipboard operation
weather-widget-2 copied to clipboard

Dropdown menu is oversized; cannot reduce size

Open salperinlea opened this issue 1 year ago • 4 comments

For reasons I do not comprehend, the dropdown from the widget upon clicking is just humongous for me; though this doesn't impair usage per se, it's visually rather offputting. Screenshot attached.

Widget version is 2.3.3, KDE is 5.25.7, display is Wayland, no NVIDIA, frameworks 5.107. bad_weather

salperinlea avatar Jun 13 '23 23:06 salperinlea

I think this is related to customised Font-DPI, Scale and/or screen resolution settings. If you can confirm what your settings are, that would be very helpful!

blackadderkate avatar Jun 16 '23 18:06 blackadderkate

Certainly. DPI is untouched, but because the computer has a screen resolution of 2256x1504, I have the display set to 125% scale.

salperinlea avatar Jun 16 '23 18:06 salperinlea

Seeing the same thing. I have a 2560x1440 display at 125% scale.

Infernio avatar Jun 16 '23 20:06 Infernio

Perhaps this is because the use of Screen.devicePixelRatio. For HiDPI display, uses may set PLASMA_USE_QT_SCALE=1 environment variable, which already scales plasmoids according to the screen scale factor. So if a plasmoid use Screen.devicePixelRatio to scale itself, it may result twice scale. I just replace every Screen.devicePixelRatio to 1, and the panel size is normal, neither oversized nor too tiny.

huyz-git avatar Jun 21 '23 10:06 huyz-git