-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Plasma 6) Icon size in tray #170
Comments
Yes I noticed this earlier. The code previously used to detect whether it was running in the tray no longer works in Plasma6 - so it defaults to a size suitable for a standalone widget in the panel. I've literally just posted a question on the KDE Community Forum Development page to see if there's a fix/workaround for this... Short term you can just tweak the icon size in the configuration settings. |
I can't find it :/ hint in which settings? |
Just turned my laptop off (using the github app on my phone to reply), but I think it's in Appearance, called Widget font-size or something like that... |
The widget font should now scale properly in both the tray, and as a system widget. |
I confirm. In versions 3.0.0 and 3.0.1 this blending is observed. |
The issue is that the widget needs to display differently depending on its location (desktop / panel / system tray) and orientation (horizontal and vertical) - and react to changes in panel orientation or size, as well as user changes to the widget layout. I've yet to find a solution that works for every single location, orientation, and panel and widget layout change... But rest assured I am working on it! |
I've had a similar experience on a horizontal panel when the plasmoid starts, but if I switch it to vertical and back to horizontal the spacing seems to fix itself. |
Same with horizontal panel. It seems |
It helps, but only until reboot. P.S. I'm not sure if the behavior has changed in the most recent version but now the widget uses a different font than the system default. |
So, I tried: #177. Just copied some things from org.kde.plasma.weather. |
Work commitments have kept me too busy to code recently, but I've been watching the recent discussion with interest.
So far my attempted workarounds and hacks to resize the widget after the parent dimensions are known have failed - but the loader approach looks promising. I'll have a look into it as soon as I get a chance (probably Monday before a release).
|
@blackadderkate Another appearance request. I think it shouldn't be too hard. Center the caption circled in the screenshot. |
fixed in 1269737 |
3.0.4 solves the problem for me |
The icon does not scale when I use a narrow panel (width: 21)
![Zrzut ekranu_20240310_220456](https://private-user-images.githubusercontent.com/70749001/311544196-c6d6b399-ec51-49f7-92fc-2bdc032ede88.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODE5NTQsIm5iZiI6MTczOTE4MTY1NCwicGF0aCI6Ii83MDc0OTAwMS8zMTE1NDQxOTYtYzZkNmIzOTktZWM1MS00OWY3LTkyZmMtMmJkYzAzMmVkZTg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEwMDA1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxYTAwMTUwZTFkMTViMzgzNjNiNGVjNzVmNzM1NTkxZTk1NTE1MDEyMzY0ZDE3ZDNiZWJmMDFiMjMzOWQ3YzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.sMHO0MdmmsWRC_g0eWkZ59xdZ6hj4gOvedZyu_YNvvk)
The text was updated successfully, but these errors were encountered: