adjusted style of hover and button sizes (#10739)

adjusted style of hover and button sizes

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Lorenzo Romagnoli 2021-11-05 10:15:35 +01:00 committed by GitHub
parent 51434eda1b
commit 2cdda695e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 8 deletions

View file

@ -94,18 +94,20 @@ Window
id: pageSelectionTabBar
anchors.right: managePackagesButton.left
anchors.rightMargin: UM.Theme.getSize("default_margin").width
height: UM.Theme.getSize("button_icon").height
spacing: 0
PackageTypeTab
{
width: implicitWidth
padding: UM.Theme.getSize("default_margin").width/2
text: catalog.i18nc("@button", "Plugins")
onClicked: content.source = "Plugins.qml"
}
PackageTypeTab
{
width: implicitWidth
padding: Math.round(UM.Theme.getSize("default_margin").width / 2)
text: catalog.i18nc("@button", "Materials")
onClicked: content.source = "Materials.qml"
}