mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Changed style for context button
CL-894
This commit is contained in:
parent
dc85568973
commit
5a13b86a3f
2 changed files with 14 additions and 4 deletions
|
@ -224,7 +224,6 @@ Component
|
|||
source: modelData.activePrintJob != null ? modelData.activePrintJob.preview_image_url : ""
|
||||
anchors.top: ownerName.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
//anchors.bottom: totalTimeLabel.top
|
||||
width: parent.width / 3
|
||||
height: width
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue