mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 15:27:53 -06:00
15.10 re-alignment of the toolbar
This is a test to be reviewed Contributes to: issue CURA-60
This commit is contained in:
parent
26c46eb56a
commit
3d5f4e6bd6
3 changed files with 29 additions and 18 deletions
|
@ -67,11 +67,14 @@ QtObject {
|
|||
|
||||
Rectangle {
|
||||
id: tool_button_background
|
||||
anchors.top: parent.bottom
|
||||
anchors.left: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
//anchors.top: parent.bottom
|
||||
|
||||
width: label.width > parent.width ? label.width : parent.width
|
||||
height: control.hovered ? label.height : 0;
|
||||
Behavior on height { NumberAnimation { duration: 100; } }
|
||||
//width: label.width > parent.width ? label.width : parent.width
|
||||
width: control.hovered ? label.width : 0;
|
||||
height: label.height
|
||||
Behavior on width { NumberAnimation { duration: 100; } }
|
||||
|
||||
opacity: control.hovered ? 1.0 : 0.0;
|
||||
Behavior on opacity { NumberAnimation { duration: 100; } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue