Fix right-alignment of configuration items in list

The scrollbar will go on top of it now, but it looks nicer if you don't scroll. Maybe we have to make it adaptable?

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-12-04 14:25:58 +01:00
parent 759b5b5847
commit 7cc1f021c1
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -27,7 +27,7 @@ Column
ScrollView ScrollView
{ {
id: container id: container
width: parent.width - parent.padding width: parent.width
height: Math.min(configurationList.contentHeight, 350 * screenScaleFactor) height: Math.min(configurationList.contentHeight, 350 * screenScaleFactor)
ButtonGroup ButtonGroup
@ -58,7 +58,7 @@ Column
delegate: ConfigurationItem delegate: ConfigurationItem
{ {
width: parent.width - UM.Theme.getSize("default_margin").width width: parent.width
configuration: modelData configuration: modelData
} }
} }