mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
moved manage packages button inside the tabBar and adjusted styling
This commit is contained in:
parent
0e646a97f2
commit
4c6441f65e
3 changed files with 17 additions and 21 deletions
|
@ -75,24 +75,11 @@ Window
|
|||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
|
||||
ManagePackagesButton
|
||||
{
|
||||
id: managePackagesButton
|
||||
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
|
||||
onClicked:
|
||||
{
|
||||
content.source = "ManagedPackages.qml"
|
||||
}
|
||||
}
|
||||
|
||||
// Page selection.
|
||||
TabBar
|
||||
{
|
||||
id: pageSelectionTabBar
|
||||
anchors.right: managePackagesButton.left
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
height: UM.Theme.getSize("button_icon").height
|
||||
spacing: 0
|
||||
|
@ -109,6 +96,10 @@ Window
|
|||
text: catalog.i18nc("@button", "Materials")
|
||||
onClicked: content.source = "Materials.qml"
|
||||
}
|
||||
ManagePackagesButton
|
||||
{
|
||||
onClicked: content.source = "ManagedPackages.qml"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue