mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Make add printer dialog resize-aware
This commit is contained in:
parent
7c8c1838e0
commit
cb73cfb0f3
3 changed files with 9 additions and 2 deletions
|
@ -87,7 +87,7 @@ Item
|
|||
{
|
||||
id: scrollView
|
||||
|
||||
height: (maxItemCountAtOnce * UM.Theme.getSize("action_button").height) - UM.Theme.getSize("default_margin").height
|
||||
height: childrenHeight
|
||||
width: Math.floor(parent.width * 0.4)
|
||||
|
||||
ListView
|
||||
|
@ -197,7 +197,7 @@ Item
|
|||
{
|
||||
id: verticalLine
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
height: childrenHeight - UM.Theme.getSize("default_lining").height
|
||||
width: UM.Theme.getSize("default_lining").height
|
||||
color: UM.Theme.getColor("lining")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue