mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07:00
Make the action panel to have a fixed width. Remove the animations when
switching states. Contributes to CURA-5786.
This commit is contained in:
parent
f41ae128c2
commit
b6b60702c0
3 changed files with 4 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ Rectangle
|
|||
{
|
||||
id: actionPanelWidget
|
||||
|
||||
width: childrenRect.width + 2 * UM.Theme.getSize("thick_margin").width
|
||||
width: UM.Theme.getSize("action_panel_widget").width
|
||||
height: childrenRect.height + 2 * UM.Theme.getSize("thick_margin").height
|
||||
|
||||
color: UM.Theme.getColor("main_background")
|
||||
|
|
@ -36,13 +36,12 @@ Rectangle
|
|||
topMargin: UM.Theme.getSize("thick_margin").height
|
||||
left: parent.left
|
||||
leftMargin: UM.Theme.getSize("thick_margin").width
|
||||
right: parent.right
|
||||
rightMargin: UM.Theme.getSize("thick_margin").width
|
||||
}
|
||||
sourceComponent: outputAvailable ? outputProcessWidget : sliceProcessWidget
|
||||
}
|
||||
|
||||
Behavior on height { NumberAnimation { duration: 100 } }
|
||||
Behavior on width { NumberAnimation { duration: 100 } }
|
||||
|
||||
Component
|
||||
{
|
||||
id: sliceProcessWidget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue