mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
Fix height of scroll view and make scrollable
Contributes to issue CURA-5876.
This commit is contained in:
parent
5ba8820f18
commit
48e15daf64
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue