mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Move all the seperate tiles into loaders instead of the entire page
Otherwise the details selection didn't work anymore and I didn't want to add more hacks. CURA-6006
This commit is contained in:
parent
54def4edee
commit
a77ad32999
4 changed files with 33 additions and 15 deletions
|
@ -24,7 +24,7 @@ Column
|
|||
color: UM.Theme.getColor("text_medium")
|
||||
font: UM.Theme.getFont("medium")
|
||||
}
|
||||
GridLayout
|
||||
Grid
|
||||
{
|
||||
id: grid
|
||||
width: parent.width - 2 * parent.padding
|
||||
|
@ -34,10 +34,12 @@ Column
|
|||
Repeater
|
||||
{
|
||||
model: gridArea.model
|
||||
delegate: ToolboxDownloadsGridTile
|
||||
delegate: Loader
|
||||
{
|
||||
Layout.preferredWidth: (grid.width - (grid.columns - 1) * grid.columnSpacing) / grid.columns
|
||||
Layout.preferredHeight: UM.Theme.getSize("toolbox_thumbnail_small").height
|
||||
asynchronous: true
|
||||
width: (grid.width - (grid.columns - 1) * grid.columnSpacing) / grid.columns
|
||||
height: UM.Theme.getSize("toolbox_thumbnail_small").height
|
||||
source: "ToolboxDownloadsGridTile.qml"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue