~gerboland/unity-2d/launcher-context-menu-blue-line-fix

« back to all changes in this revision

Viewing changes to places/UnityDefaultRenderer.qml

  • Committer: Florian Boucault
  • Date: 2011-08-23 17:46:06 UTC
  • mfrom: (574.75.12 unity-2d)
  • Revision ID: florian@boucault.net-20110823174606-360dms6pjdyrad97
Merged lp:unity-2d

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import Unity2d 1.0 /* required for drag’n’drop handling */
21
21
 
22
22
RendererGrid {
23
 
    cellWidth: 136
 
23
    cellWidth: 100
24
24
    cellHeight: 108
25
 
    horizontalSpacing: 10
26
 
    verticalSpacing: 10
 
25
    horizontalSpacing: 42
 
26
    verticalSpacing: 20
27
27
 
28
28
    cellRenderer: Component {
29
29
        Button {
72
72
                id: icon
73
73
 
74
74
                source: iconHint != "" ? "image://icons/"+iconHint : ""
75
 
                width: 48
76
 
                height: 48
 
75
                width: 64
 
76
                height: 64
77
77
                anchors.horizontalCenter: parent.horizontalCenter
78
78
                anchors.top: parent.top
79
 
                anchors.topMargin: 10
80
79
                fillMode: Image.PreserveAspectFit
81
80
                sourceSize.width: width
82
81
                sourceSize.height: height
98
97
                anchors.right: parent.right
99
98
                anchors.left: parent.left
100
99
                anchors.topMargin: 10
101
 
                anchors.bottomMargin: 5
102
100
                anchors.rightMargin: 3
103
101
                anchors.leftMargin: 3
104
 
                font.underline: parent.activeFocus
105
102
            }
106
103
        }
107
104
    }