mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 16:33:15 +08:00
Fix height of scroll view and make scrollable
Contributes to issue CURA-5876.
This commit is contained in:
parent
5ba8820f18
commit
48e15daf64
@ -14,7 +14,7 @@ Button
|
||||
property var configuration: null
|
||||
hoverEnabled: true
|
||||
|
||||
height: childrenRect.height
|
||||
height: background.height
|
||||
|
||||
background: Rectangle
|
||||
{
|
||||
|
@ -28,7 +28,9 @@ Column
|
||||
{
|
||||
id: container
|
||||
width: parent.width
|
||||
height: Math.min(configurationList.contentHeight, 350 * screenScaleFactor)
|
||||
height: Math.round(Math.min(configurationList.height, 350 * screenScaleFactor))
|
||||
contentHeight: configurationList.height
|
||||
clip: true
|
||||
|
||||
ButtonGroup
|
||||
{
|
||||
@ -41,6 +43,7 @@ Column
|
||||
spacing: Math.round(UM.Theme.getSize("default_margin").height / 2)
|
||||
width: container.width
|
||||
contentHeight: childrenRect.height
|
||||
height: childrenRect.height
|
||||
|
||||
section.property: "modelData.printerType"
|
||||
section.criteria: ViewSection.FullString
|
||||
|
Loading…
x
Reference in New Issue
Block a user