Review Request 119721: Don't explicitly set a height on button in notification delegate.

David Edmundson david at davidedmundson.co.uk
Mon Aug 11 21:52:30 UTC 2014



> On Aug. 11, 2014, 9:35 p.m., Martin Klapetek wrote:
> > Can you post a screenshot of a notification with three actions?
> 
> Martin Klapetek wrote:
>     Note that the button still /has/ enough space for the text to fit in, it is just ridiculously padded from top.

Bah. It doesn't fit.

>Note that the button still /has/ enough space for the text to fit in

On breeze, maybe. But that's not reliable; and it's ignoring theme hints.


- David


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


On Aug. 11, 2014, 7:46 p.m., David Edmundson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119721/
> -----------------------------------------------------------
> 
> (Updated Aug. 11, 2014, 7:46 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> Don't explicitly set a height on button in notification delegate.
> 
> Setting a random value on a button means that it's smaller than the button wants to be and text falls out. The default is set by the button and is correct.
> 
> It's not up to the controls to handle being resized; it'd be like complaining at LineEdit if you set the height to 2px tall and you can't read the text.
> 
> 
> Diffs
> -----
> 
>   applets/notifications/package/contents/ui/NotificationPopup.qml 489fbd1 
> 
> Diff: https://git.reviewboard.kde.org/r/119721/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Edmundson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140811/3decec4b/attachment.html>


More information about the Plasma-devel mailing list