mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 18:33:13 +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
|
property var configuration: null
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
height: childrenRect.height
|
height: background.height
|
||||||
|
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,9 @@ Column
|
|||||||
{
|
{
|
||||||
id: container
|
id: container
|
||||||
width: parent.width
|
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
|
ButtonGroup
|
||||||
{
|
{
|
||||||
@ -41,6 +43,7 @@ Column
|
|||||||
spacing: Math.round(UM.Theme.getSize("default_margin").height / 2)
|
spacing: Math.round(UM.Theme.getSize("default_margin").height / 2)
|
||||||
width: container.width
|
width: container.width
|
||||||
contentHeight: childrenRect.height
|
contentHeight: childrenRect.height
|
||||||
|
height: childrenRect.height
|
||||||
|
|
||||||
section.property: "modelData.printerType"
|
section.property: "modelData.printerType"
|
||||||
section.criteria: ViewSection.FullString
|
section.criteria: ViewSection.FullString
|
||||||
|
Loading…
x
Reference in New Issue
Block a user