Commit 337c1b3b authored by Marco Bubke's avatar Marco Bubke Committed by Tim Jenssen

QmlDesigner: Tweak item library

Change-Id: Ia9f689c33e9590815cbd00bdf13d0d05466d37d0
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent f07cb7ae
......@@ -61,9 +61,11 @@ Rectangle {
anchors.leftMargin: styleConstants.cellHorizontalMargin
anchors.right: parent.right
anchors.rightMargin: styleConstants.cellHorizontalMargin
anchors.bottom: parent.bottom
anchors.bottomMargin: styleConstants.cellHorizontalMargin
verticalAlignment: "AlignVCenter"
horizontalAlignment: "AlignHCenter"
verticalAlignment: Qt.AlignVCenter
horizontalAlignment: Qt.AlignHCenter
text: itemName // to be set by model
color: "#FFFFFF"
renderType: Text.NativeRendering
......
......@@ -72,11 +72,11 @@ ScrollView {
property color lighterBackgroundColor: "#5f5f5f"
property int textWidth: 55
property int textHeight: 30
property int textHeight: 26
property int cellHorizontalMargin: 5
property int cellVerticalSpacing: 3
property int cellVerticalMargin: 3
property int cellVerticalMargin: 7
// the following depend on the actual shape of the item delegate
property int cellWidth: textWidth + 2 * cellHorizontalMargin
......@@ -104,6 +104,9 @@ ScrollView {
width: itemsView.viewport.width
caption: sectionName // to be set by model
visible: sectionVisible
topPadding: 2
leftPadding: 2
rightPadding: 1
Grid {
id: itemGrid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment