-
Notifications
You must be signed in to change notification settings - Fork 12
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
Panel Text Overlapping Neighbor Widget #27
Comments
Hello! Sorry about the late response. The size of the widget is dynamically calculated based on a helper element. The helper element depends on the configuration values. So, the size of the widget is currently only changed when the config values change. The critical part is here (Notice the TODO as I predicted this might be an issue)
I can add a I'll work on this ASAP Thanks! |
Hello again. I have done some debugging of the widget. The problem is not related to the calculation of the helper size element. Instead, the size of the icon is not properly calculated when the widget first loads. With my settings, the text should be 80px wide and the icon should be 64px wide. However, on first load the width of the icon is only 16px wide. Then, I have to follow the behavior you mentioned and change the font size under I cannot find anything on the internet about "KDE Plasma SVG icon size not calculated on first load" so I am going to look through the QML rendering engine and see about anything I might be able to do to solve this. I am currently seeing about a hacky solution that would involve manually multiplying the size of the icon on first load. Thank you very much for understanding my busy schedule and delay! |
As far as I can tell, this is now fixed in plasma 6. Immediately, after logging in, the widget's boundaries are correctly calculated. |
First thing after logging in to a new session the panel text is overlapping it's neighbor widget on the right. (see screenshot)
Upon going to Configuration -> Appearance and changing the font size (Compact Representation) to anything else and hitting Apply, the panel width and margins are recalculated. Then I can set the font size to my desired size, or even auto.
This is immediately after login.
![weather_on_login](https://user-images.githubusercontent.com/2272892/132267658-660c2904-446b-4485-bfcd-651a9165bf03.png)
This is after font size twiddling.
![weather_after_font_size_twiddling](https://user-images.githubusercontent.com/2272892/132267715-b5dfe169-b7b6-49b0-95e8-311a6776e890.png)
plasmoid-wunderground version 2.3.7 (also had issue on 2.3.3 before updating)
plasmashell 5.22.5
Qt: 5.15.2
KDE Frameworks: 5.85.0
kf5-config: 1.0
Thanks.
The text was updated successfully, but these errors were encountered: