Review Request: Improve PlasmaComponents.ToolButton layout
Commit Hook
null at kde.org
Thu Apr 26 13:12:32 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104735/#review12929
-----------------------------------------------------------
This review has been submitted with commit ecf7d5090c7e2abbe82e91ef11833885b1763041 by Aurélien Gâteau to branch master.
- Commit Hook
On April 26, 2012, 8:27 a.m., Aurélien Gâteau wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104735/
> -----------------------------------------------------------
>
> (Updated April 26, 2012, 8:27 a.m.)
>
>
> Review request for Plasma and David Edmundson.
>
>
> Description
> -------
>
> This patch fixes two issues in ToolButton layout:
>
> 1. Make sure there is some space between the button icon and its text
>
> 2. Do not enforce a minimum width
>
> The reason for #2 is that having a minimum width does not make much sense for a ToolButton:
> - It should aim at using the minimum amount of horizontal space when used in a ToolBar.
> - It looks unbalanced when used with an icon because the content is flushed to the left, leaving a large amount of white-space on the right. (See attached screenshots)
>
>
> Diffs
> -----
>
> plasma/declarativeimports/plasmacomponents/qml/ToolButton.qml 0447a69
>
> Diff: http://git.reviewboard.kde.org/r/104735/diff/
>
>
> Testing
> -------
>
> Run attached test script, you should notice the differences in spacing between button icon and text, as well as in the white-space on the right of the button.
>
>
> Screenshots
> -----------
>
> Before
> http://git.reviewboard.kde.org/r/104735/s/545/
> After
> http://git.reviewboard.kde.org/r/104735/s/546/
>
>
> Thanks,
>
> Aurélien Gâteau
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120426/af92b2e9/attachment.html>
More information about the Plasma-devel
mailing list