1 Nov 2011 20:20
Re: Review Request: Improved Button.qml in PlasmaComponents
Marco Martin <notmart <at> gmail.com>
2011-11-01 19:20:45 GMT
2011-11-01 19:20:45 GMT
| This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/103020/ |
i like the effect of having an animated press effect. this comes with a cost memory wise but could be worth it. ToolButton should be adapted to this as well, wouldn't bother with other elements for now, since those widgets will be instantiated so many times that the memory impact is actually present, we'll see for the future *if* some profiling gets done. this can go in after a couple issues in the code have been solved:
| function pressButton() { | |||
| if (button.checked) | |||
| width: Math.max(50, icon.width + label.paintedWidth + surface.margins.left + surface.margins.right) | 50width: { | ||
| 54 | { | ||
| anchors { | 132anchors.right: parent.right | ||
| left: icon.valid ? icon.right : parent.left | 135height: parent.height | ||
- Marco
On November 1st, 2011, 7:01 p.m., Mark Gaiser wrote:
|
Review request for KDE Runtime, Plasma and Marco Martin.
By Mark Gaiser.
Updated Nov. 1, 2011, 7:01 p.m. Description
Testing
Diffs
|
_______________________________________________ Plasma-devel mailing list Plasma-devel <at> kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
RSS Feed