Actually just get rid of it
This commit is contained in:
@@ -191,9 +191,6 @@ Rectangle {
|
|||||||
focusColor: "#83a598"
|
focusColor: "#83a598"
|
||||||
hoverColor: "#504945"
|
hoverColor: "#504945"
|
||||||
color: "#282828"
|
color: "#282828"
|
||||||
arrowColor: "#282828"
|
|
||||||
|
|
||||||
arrowIcon: Qt.resolvedUrl("angle-down.png")
|
|
||||||
|
|
||||||
model: sessionModel
|
model: sessionModel
|
||||||
index: sessionModel.lastIndex
|
index: sessionModel.lastIndex
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 196 B |
@@ -40,8 +40,6 @@ FocusScope {
|
|||||||
property alias model: listView.model
|
property alias model: listView.model
|
||||||
property alias radius: main.radius
|
property alias radius: main.radius
|
||||||
property int index: 0
|
property int index: 0
|
||||||
property alias arrowColor: arrow.color
|
|
||||||
property alias arrowIcon: arrowIcon.source
|
|
||||||
|
|
||||||
property Component rowDelegate: defaultRowDelegate
|
property Component rowDelegate: defaultRowDelegate
|
||||||
|
|
||||||
@@ -51,7 +49,7 @@ FocusScope {
|
|||||||
id: defaultRowDelegate
|
id: defaultRowDelegate
|
||||||
Text {
|
Text {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 3 + container.borderWidth + (LayoutMirroring.enabled ? arrow.width : 0)
|
anchors.margins: 3 + container.borderWidth
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
color: container.textColor
|
color: container.textColor
|
||||||
font: container.font
|
font: container.font
|
||||||
@@ -97,26 +95,6 @@ FocusScope {
|
|||||||
property variant modelItem
|
property variant modelItem
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
|
||||||
id: arrow
|
|
||||||
anchors.right: parent.right
|
|
||||||
width: 20 + 2*border.width; height: parent.height
|
|
||||||
radius: main.radius
|
|
||||||
|
|
||||||
border.color: main.border.color
|
|
||||||
border.width: main.border.width
|
|
||||||
|
|
||||||
Image {
|
|
||||||
id: arrowIcon
|
|
||||||
anchors.fill: parent
|
|
||||||
anchors.leftMargin: parent.border.width
|
|
||||||
anchors.rightMargin: parent.border.width
|
|
||||||
clip: true
|
|
||||||
smooth: true
|
|
||||||
fillMode: Image.PreserveAspectFit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mouseArea
|
id: mouseArea
|
||||||
anchors.fill: container
|
anchors.fill: container
|
||||||
|
Reference in New Issue
Block a user