I don't know what I was thinking when I implemented this but just use implicitWidth which is the correct width.
Fixes the label potentially being wider than the applet swallowing the right panel margin when placed at the end of a panel.
davidedmundson |
Plasma |
I don't know what I was thinking when I implemented this but just use implicitWidth which is the correct width.
Fixes the label potentially being wider than the applet swallowing the right panel margin when placed at the end of a panel.
Tried in all modes (label only, icon only, label+icon) and the width was correct every time.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |