Order bundled/installed packages/materials section.

And other finishing touches.
part of CURA-7240
This commit is contained in:
Remco Burema 2020-03-31 12:02:46 +02:00
parent 85490dc58a
commit d89fce6240
No known key found for this signature in database
GPG key ID: 215C49431D43F98C

View file

@ -31,9 +31,9 @@ ScrollView
right: parent.right
margins: parent.padding
}
text: catalog.i18nc("@title:tab", "Installed Plugins")
text: catalog.i18nc("@title:tab", "My installed plugins")
color: UM.Theme.getColor("text_medium")
font: UM.Theme.getFont("large")
font: UM.Theme.getFont("medium")
renderType: Text.NativeRendering
}
@ -76,52 +76,7 @@ ScrollView
right: parent.right
margins: parent.padding
}
text: catalog.i18nc("@title:tab", "Bundled Plugins")
color: UM.Theme.getColor("text_medium")
font: UM.Theme.getFont("large")
renderType: Text.NativeRendering
}
Rectangle
{
anchors
{
left: parent.left
right: parent.right
margins: parent.padding
}
id: bundledPlugins
color: "transparent"
height: childrenRect.height + UM.Theme.getSize("default_margin").width
border.color: UM.Theme.getColor("lining")
border.width: UM.Theme.getSize("default_lining").width
Column
{
anchors
{
top: parent.top
right: parent.right
left: parent.left
margins: UM.Theme.getSize("default_margin").width
}
Repeater
{
id: bundledPluginsList
model: toolbox.pluginsInstalledModel
delegate: ToolboxInstalledTile { visible: model.is_bundled }
}
}
}
Label
{
anchors
{
left: parent.left
right: parent.right
margins: parent.padding
}
text: catalog.i18nc("@title:tab", "Installed Materials")
text: catalog.i18nc("@title:tab", "My installed materials")
color: UM.Theme.getColor("text_medium")
font: UM.Theme.getFont("medium")
renderType: Text.NativeRendering
@ -166,7 +121,52 @@ ScrollView
right: parent.right
margins: parent.padding
}
text: catalog.i18nc("@title:tab", "Bundled Materials")
text: catalog.i18nc("@title:tab", "Bundled plugins")
color: UM.Theme.getColor("text_medium")
font: UM.Theme.getFont("medium")
renderType: Text.NativeRendering
}
Rectangle
{
anchors
{
left: parent.left
right: parent.right
margins: parent.padding
}
id: bundledPlugins
color: "transparent"
height: childrenRect.height + UM.Theme.getSize("default_margin").width
border.color: UM.Theme.getColor("lining")
border.width: UM.Theme.getSize("default_lining").width
Column
{
anchors
{
top: parent.top
right: parent.right
left: parent.left
margins: UM.Theme.getSize("default_margin").width
}
Repeater
{
id: bundledPluginsList
model: toolbox.pluginsInstalledModel
delegate: ToolboxInstalledTile { visible: model.is_bundled }
}
}
}
Label
{
anchors
{
left: parent.left
right: parent.right
margins: parent.padding
}
text: catalog.i18nc("@title:tab", "Bundled materials")
color: UM.Theme.getColor("text_medium")
font: UM.Theme.getFont("medium")
renderType: Text.NativeRendering