Changed style for context button

CL-894
This commit is contained in:
Jaime van Kessel 2018-08-21 14:55:18 +02:00
parent dc85568973
commit 5a13b86a3f
2 changed files with 14 additions and 4 deletions

View file

@ -120,12 +120,25 @@ Item
Button
{
id: contextButton
text: "..."
text: "\u22EE" //Unicode; Three stacked points.
width: 30
height: width
anchors
{
right: parent.right
top: parent.top
}
hoverEnabled: true
background: Rectangle
{
opacity: contextButton.down || contextButton.hovered ? 1 : 0
width: contextButton.width
height: contextButton.height
radius: 0.5 * width
color: "grey"
}
onClicked: parent.switchPopupState()
}
@ -138,8 +151,6 @@ Item
closePolicy: Popup.CloseOnPressOutsideParent
x: parent.width - width
y: contextButton.height
//y: configurationSelector.height - UM.Theme.getSize("default_lining").height
//x: configurationSelector.width - width
width: 200
height: contentItem.height + 2 * padding
visible: false