mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 06:35:55 +08:00
Also make description area foldable.
part of CURA-8561
This commit is contained in:
parent
82f140aa39
commit
4a7a74cba6
@ -29,6 +29,11 @@ Rectangle
|
|||||||
target: downloadCountRow
|
target: downloadCountRow
|
||||||
visible: false
|
visible: false
|
||||||
}
|
}
|
||||||
|
PropertyChanges
|
||||||
|
{
|
||||||
|
target: descriptionArea
|
||||||
|
visible: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
State
|
State
|
||||||
{
|
{
|
||||||
@ -39,6 +44,11 @@ Rectangle
|
|||||||
target: downloadCountRow
|
target: downloadCountRow
|
||||||
visible: true
|
visible: true
|
||||||
}
|
}
|
||||||
|
PropertyChanges
|
||||||
|
{
|
||||||
|
target: descriptionArea
|
||||||
|
visible: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -186,8 +196,6 @@ Rectangle
|
|||||||
|
|
||||||
spacing: UM.Theme.getSize("thin_margin").width
|
spacing: UM.Theme.getSize("thin_margin").width
|
||||||
|
|
||||||
visible: false // start up invisible (see states)
|
|
||||||
|
|
||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
{
|
{
|
||||||
id: downloadCountIcon
|
id: downloadCountIcon
|
||||||
@ -207,6 +215,7 @@ Rectangle
|
|||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
|
id: descriptionArea
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: descriptionLabel.height
|
height: descriptionLabel.height
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user