Actually just get rid of it

This commit is contained in:
Salt 2025-01-12 04:14:03 -06:00
parent 425be2e5ef
commit 552e3320d5
3 changed files with 1 additions and 26 deletions

View File

@ -191,9 +191,6 @@ Rectangle {
focusColor: "#83a598"
hoverColor: "#504945"
color: "#282828"
arrowColor: "#282828"
arrowIcon: Qt.resolvedUrl("angle-down.png")
model: sessionModel
index: sessionModel.lastIndex

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 B

View File

@ -40,8 +40,6 @@ FocusScope {
property alias model: listView.model
property alias radius: main.radius
property int index: 0
property alias arrowColor: arrow.color
property alias arrowIcon: arrowIcon.source
property Component rowDelegate: defaultRowDelegate
@ -51,7 +49,7 @@ FocusScope {
id: defaultRowDelegate
Text {
anchors.fill: parent
anchors.margins: 3 + container.borderWidth + (LayoutMirroring.enabled ? arrow.width : 0)
anchors.margins: 3 + container.borderWidth
verticalAlignment: Text.AlignVCenter
color: container.textColor
font: container.font
@ -97,26 +95,6 @@ FocusScope {
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 {
id: mouseArea
anchors.fill: container