~ubuntu-branches/ubuntu/vivid/plasma-desktop/vivid-proposed

« back to all changes in this revision

Viewing changes to desktoppackage/contents/applet/DefaultCompactRepresentation.qml

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2015-01-27 14:58:59 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20150127145859-8os1p644gf9n14ba
Tags: 4:5.2.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
 
19
19
import QtQuick 2.0
20
 
 
 
20
import QtQuick.Layouts 1.1
21
21
import org.kde.plasma.core 2.0 as PlasmaCore
22
22
 
23
23
PlasmaCore.IconItem {
24
24
    id: icon
25
25
 
 
26
    Layout.minimumWidth: plasmoid.formFactor == PlasmaCore.Types.Vertical ? 0 : height
 
27
    Layout.minimumHeight: plasmoid.formFactor == PlasmaCore.Types.Vertical ? width : 0
26
28
    source: plasmoid.icon ? plasmoid.icon : "plasma"
27
29
    active: mouseArea.containsMouse
28
30