Skip to content

Commit e8136bd

Browse files
committed
Add an indicator to show there are multiple file providers
1 parent 5338def commit e8136bd

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

resources/qml/OpenFileButton411.qml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ Button
6969

7070
sourceSize.height: height
7171
}
72+
73+
UM.RecolorImage
74+
{
75+
anchors
76+
{
77+
right: parent.right
78+
rightMargin: -4 * UM.Theme.getSize("default_lining").width
79+
bottom: parent.bottom
80+
bottomMargin: -2 * UM.Theme.getSize("default_lining").height
81+
}
82+
source: UM.Theme.getIcon("ChevronSingleDown")
83+
visible: fileProviderModel.count > 1
84+
width: UM.Theme.getSize("standard_arrow").width
85+
height: UM.Theme.getSize("standard_arrow").height
86+
color: UM.Theme.getColor("icon")
87+
}
7288
}
7389

7490
background: Cura.RoundedRectangle

0 commit comments

Comments
 (0)