Review Request 127124: Fixed minimum width for the notes applet so that buttons never leak

Aleix Pol Gonzalez aleixpol at kde.org
Sat Feb 20 16:10:55 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127124/#review92582
-----------------------------------------------------------




applets/notes/package/contents/ui/main.qml (line 48)
<https://git.reviewboard.kde.org/r/127124/#comment63115>

    That's a hack, you shouldn't rely on such made up values.
    
    try:
    Plasmoid.switchWidth: Math.max(units.gridUnit * 13, fontButtons.Layout.preferredWidth)


- Aleix Pol Gonzalez


On Feb. 20, 2016, 2:51 p.m., Viorel-Cătălin Răpițeanu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127124/
> -----------------------------------------------------------
> 
> (Updated Feb. 20, 2016, 2:51 p.m.)
> 
> 
> Review request for Plasma, Aleix Pol Gonzalez, Dominik Haumann, and Sebastian Kügler.
> 
> 
> Repository: kdeplasma-addons
> 
> 
> Description
> -------
> 
> When resizing the notes applet to the minimum size, the 'Notes Settings' button was leaking when hovered.
> 
> ![Image description](http://s2.postimg.org/pb2ruhz49/notes_applet_width.png)
> 
> 
> Diffs
> -----
> 
>   applets/notes/package/contents/ui/main.qml e3f2099 
> 
> Diff: https://git.reviewboard.kde.org/r/127124/diff/
> 
> 
> Testing
> -------
> 
> The testing was done locally by installing the modified version. The minimum size doesn't allow the buttons to leak anymore.
> 
> 
> Thanks,
> 
> Viorel-Cătălin Răpițeanu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160220/2d473c77/attachment-0001.html>


More information about the Plasma-devel mailing list