Skip to content
Snippets Groups Projects
Commit 9ee467a8 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDesigner.ItemLibrary: Adjusted grid line colors

parent a3bc972a
No related branches found
No related tags found
No related merge requests found
......@@ -14,33 +14,44 @@ Item {
Rectangle {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
anchors.right: parent.right
height: 1
color: style.gridLineColor
color: style.gridLineLighter
}
Rectangle {
anchors.bottom: parent.bottom
anchors.bottomMargin: -1
anchors.left: parent.left
anchors.right: parent.right
height: 1
color: style.gridLineColor
color: style.gridLineDarker
}
Rectangle {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
width: 1
color: style.gridLineColor
color: style.gridLineLighter
}
Rectangle {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.bottomMargin: -1
anchors.right: parent.right
anchors.rightMargin: -1
width: 1
color: style.gridLineColor
color: style.gridLineDarker
}
Rectangle {
anchors.top:parent.top
anchors.right:parent.right
width:1
height:1
color: style.backgroundColor
}
Rectangle {
anchors.bottom:parent.bottom
anchors.left:parent.left
width:1
height:1
color: style.backgroundColor
}
Image {
......
......@@ -7,12 +7,15 @@ Item {
property string scrollbarBackgroundColor: "#505050"
property string scrollbarHandleColor: "#303030"
property string itemNameTextColor: "#c0c0c0"
property string itemNameTextColor: "#FFFFFF"
property string sectionTitleTextColor: "#f0f0f0"
property string sectionTitleBackgroundColor: "#909090"
property string gridLineColor: "#a0a0a0"
// property string gridLineLighter: "#787878"
// property string gridLineDarker: "#656565"
property string gridLineLighter: "#808080"
property string gridLineDarker: "#606060"
property int sectionTitleHeight: 20
property int sectionTitleSpacing: 2
......
......@@ -160,5 +160,50 @@ Item {
}
}
}
Rectangle {
anchors.right:parent.right
anchors.left:parent.left
anchors.top:parent.top
anchors.topMargin:1
anchors.rightMargin:2
height:1
color:Qt.lighter(systemPalette.highlight)
}
Rectangle {
anchors.right:parent.right
anchors.left:parent.left
anchors.bottom:parent.bottom
anchors.bottomMargin:1
anchors.leftMargin:2
height:1
color:Qt.darker(systemPalette.highlight)
}
Rectangle {
anchors.left:parent.left
anchors.top:parent.top
anchors.bottom:parent.bottom
anchors.leftMargin:1
anchors.bottomMargin:2
width:1
//color:Qt.lighter(systemPalette.highlight)
gradient: Gradient {
GradientStop { position: 0.0; color: Qt.lighter(systemPalette.highlight) }
GradientStop { position: 1.0; color: systemPalette.highlight }
}
}
Rectangle {
anchors.right:parent.right
anchors.top:parent.top
anchors.bottom:parent.bottom
anchors.rightMargin:1
anchors.topMargin:2
width:1
//color:Qt.darker(systemPalette.highlight)
gradient: Gradient {
GradientStop { position: 0.0; color: systemPalette.highlight }
GradientStop { position: 1.0; color: Qt.darker(systemPalette.highlight) }
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment