mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:25:59 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
3b406b5467
@ -9,17 +9,8 @@ import UM 1.1 as UM
|
||||
Item
|
||||
{
|
||||
id: page
|
||||
property var details: base.selection || dummy_details
|
||||
property var details: base.selection || {}
|
||||
anchors.fill: parent
|
||||
|
||||
property var dummy_details: new Object({
|
||||
name: "",
|
||||
description: "",
|
||||
email: "",
|
||||
website: "",
|
||||
icon_url: ""
|
||||
})
|
||||
|
||||
ToolboxBackColumn
|
||||
{
|
||||
id: sidebar
|
||||
|
@ -9,21 +9,9 @@ import UM 1.1 as UM
|
||||
Item
|
||||
{
|
||||
id: page
|
||||
property var details: base.selection || dummy_details
|
||||
property var details: base.selection
|
||||
anchors.fill: parent
|
||||
width: parent.width
|
||||
|
||||
property var dummy_details: new Object({
|
||||
name: '',
|
||||
version: '',
|
||||
last_updated: '',
|
||||
author_email: '',
|
||||
author_name: '',
|
||||
website: '',
|
||||
icon_url: '',
|
||||
download_count: ''
|
||||
})
|
||||
|
||||
ToolboxBackColumn
|
||||
{
|
||||
id: sidebar
|
||||
@ -86,6 +74,7 @@ Item
|
||||
}
|
||||
spacing: Math.floor(UM.Theme.getSize("narrow_margin").height)
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
Label
|
||||
{
|
||||
text: catalog.i18nc("@label", "Version") + ":"
|
||||
@ -122,6 +111,7 @@ Item
|
||||
topMargin: UM.Theme.getSize("default_margin").height
|
||||
}
|
||||
spacing: Math.floor(UM.Theme.getSize("narrow_margin").height)
|
||||
height: childrenRect.height
|
||||
Label
|
||||
{
|
||||
text: details.version || catalog.i18nc("@label", "Unknown")
|
||||
|
@ -25,7 +25,7 @@ Column
|
||||
{
|
||||
id: grid
|
||||
property var model: toolbox.viewCategory == "material" ? toolbox.authorsModel : toolbox.packagesModel
|
||||
width: parent.width
|
||||
width: parent.width - 2 * parent.padding
|
||||
columns: 2
|
||||
columnSpacing: UM.Theme.getSize("default_margin").height
|
||||
rowSpacing: UM.Theme.getSize("default_margin").width
|
||||
|
@ -25,6 +25,7 @@ Item
|
||||
right: restartButton.right
|
||||
rightMargin: UM.Theme.getSize("default_margin").width
|
||||
}
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
Button
|
||||
{
|
||||
|
@ -448,7 +448,7 @@
|
||||
"toolbox_footer_button": [8.0, 2.5],
|
||||
"toolbox_showcase_spacing": [1.0, 1.0],
|
||||
"toolbox_header_tab": [8.0, 4.0],
|
||||
"toolbox_detail_header": [1.0, 12.0],
|
||||
"toolbox_detail_header": [1.0, 14.0],
|
||||
"toolbox_detail_tile": [1.0, 8.0],
|
||||
"toolbox_back_column": [6.0, 1.0],
|
||||
"toolbox_back_button": [4.0, 2.0],
|
||||
|
Loading…
x
Reference in New Issue
Block a user