Skip to content
Snippets Groups Projects
Commit a813396b authored by Jörg Schummer's avatar Jörg Schummer Committed by Lasse Holmstedt
Browse files

QmlDesigner.ItemLibrary: adjust style to property editor's look

Task-number: BAUHAUS-654
parent 1b1b8909
No related branches found
No related tags found
No related merge requests found
...@@ -47,11 +47,11 @@ Item { ...@@ -47,11 +47,11 @@ Item {
property string gridLineLighter: "#5f5f5f" property string gridLineLighter: "#5f5f5f"
property string gridLineDarker: "#3f3f3f" property string gridLineDarker: "#3f3f3f"
property string sectionArrowColor: "#aeaeae" property string sectionArrowColor: "#ffffff"
property string sectionTitleTextColor: "#f0f0f0" property string sectionTitleTextColor: "#ffffff"
property string sectionTitleBackgroundColor: "#909090" property string sectionTitleBackgroundColor: "#656565"
property int sectionTitleHeight: 20 property int sectionTitleHeight: 18
property int sectionTitleSpacing: 2 property int sectionTitleSpacing: 2
property int iconWidth: 32 property int iconWidth: 32
......
...@@ -111,17 +111,18 @@ Column { ...@@ -111,17 +111,18 @@ Column {
Item { Item {
id: arrow id: arrow
Rectangle { y: 0; x: 0; height: 1; width: 9; color: style.sectionArrowColor } Rectangle { y: 0; x: 0; height: 1; width: 11; color: style.sectionArrowColor }
Rectangle { y: 1; x: 1; height: 1; width: 7; color: style.sectionArrowColor } Rectangle { y: 1; x: 1; height: 1; width: 9; color: style.sectionArrowColor }
Rectangle { y: 2; x: 2; height: 1; width: 5; color: style.sectionArrowColor } Rectangle { y: 2; x: 2; height: 1; width: 7; color: style.sectionArrowColor }
Rectangle { y: 3; x: 3; height: 1; width: 3; color: style.sectionArrowColor } Rectangle { y: 3; x: 3; height: 1; width: 5; color: style.sectionArrowColor }
Rectangle { y: 4; x: 4; height: 1; width: 1; color: style.sectionArrowColor } Rectangle { y: 4; x: 4; height: 1; width: 3; color: style.sectionArrowColor }
Rectangle { y: 5; x: 5; height: 1; width: 1; color: style.sectionArrowColor }
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 5 anchors.leftMargin: 10
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: 9 width: 11
height: 5 height: 6
transformOrigin: Item.Center transformOrigin: Item.Center
} }
...@@ -130,11 +131,12 @@ Column { ...@@ -130,11 +131,12 @@ Column {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: arrow.right anchors.left: arrow.right
anchors.leftMargin: 5 anchors.leftMargin: 12
text: sectionName // to be set by model text: sectionName // to be set by model
color: style.sectionTitleTextColor color: style.sectionTitleTextColor
elide: Text.ElideMiddle elide: Text.ElideMiddle
font.bold: true
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
......
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