D5144: Change the volume icon/mute button into a ToolButton
noreply at phabricator.kde.org
Sat Apr 8 07:40:06 UTC 2017
drosca accepted this revision.
drosca added a comment.
This revision is now accepted and ready to land.
> My theory is that clicking the button will change the ToolButton's svg, which probably causes the naturalHeight to be set, causing the ColumnLayout to recalculate the height of the rows. Whatever is loading wrong at initialization is corrected, causes the reflow, which makes the text shift.
No, it's a bug in PlasmaComponents.Label, it sets:
height: Math.round(Math.max(paintedHeight, theme.mSize(theme.defaultFont).height*1.6))
If you do `height: paintedHeight` in our code, the issue is fixed.
> Should I go ahead and commit this?
R115 Plasma Audio Volume Applet
To: Zren, #plasma, subdiff, drosca
Cc: mart, subdiff, drosca, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Plasma-devel