mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Add basic tab bar to select pages
Contributes to issue CURA-8557.
This commit is contained in:
parent
c31665f069
commit
38b7f17615
1 changed files with 24 additions and 0 deletions
|
@ -66,6 +66,30 @@ Window
|
|||
text: catalog.i18nc("@header", "Install Plugins")
|
||||
}
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
|
||||
TabBar //Page selection.
|
||||
{
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
|
||||
TabButton
|
||||
{
|
||||
width: implicitWidth
|
||||
text: catalog.i18nc("@button", "Plug-ins")
|
||||
}
|
||||
TabButton
|
||||
{
|
||||
width: implicitWidth
|
||||
text: catalog.i18nc("@button", "Materials")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle //Page contents.
|
||||
{
|
||||
Layout.preferredWidth: parent.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue