mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Set position and width of card in details page
This means that the card itself shouldn't specify a width. It should get a width from how it's used. Contributes to issue CURA-8565.
This commit is contained in:
parent
d5cfaa1e0a
commit
616bf479e5
3 changed files with 10 additions and 1 deletions
|
@ -12,7 +12,6 @@ Rectangle
|
|||
{
|
||||
property var packageData
|
||||
|
||||
width: parent ? parent.width - UM.Theme.getSize("default_margin").width - UM.Theme.getSize("narrow_margin").width: 0
|
||||
height: UM.Theme.getSize("card").height
|
||||
color: UM.Theme.getColor("main_background")
|
||||
radius: UM.Theme.getSize("default_radius").width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue