mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
CURA-4644 Fix unselectable item in the Toolbox
This commit is contained in:
parent
be81d4c4cc
commit
2283bb530d
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@ Column
|
||||||
{
|
{
|
||||||
// HACK: GridLayouts don't render to the correct height with odd numbers of
|
// HACK: GridLayouts don't render to the correct height with odd numbers of
|
||||||
// items, so if odd, add some extra space.
|
// items, so if odd, add some extra space.
|
||||||
height: grid.model.items.length % 2 == 0 ? childrenRect.height : childrenRect.height + UM.Theme.getSize("toolbox_thumbnail_small").height
|
height: childrenRect.height
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: UM.Theme.getSize("default_margin").height
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
Label
|
Label
|
||||||
|
@ -36,6 +36,7 @@ Column
|
||||||
delegate: ToolboxDownloadsGridTile
|
delegate: ToolboxDownloadsGridTile
|
||||||
{
|
{
|
||||||
Layout.preferredWidth: (grid.width - (grid.columns - 1) * grid.columnSpacing) / grid.columns
|
Layout.preferredWidth: (grid.width - (grid.columns - 1) * grid.columnSpacing) / grid.columns
|
||||||
|
Layout.preferredHeight: UM.Theme.getSize("toolbox_thumbnail_small").height
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue