moved padding to PackageTybeTab and replaced default margin with narrow margin

This commit is contained in:
10r3n20 2021-11-16 11:29:48 +01:00
parent 887ac4aef8
commit 74193ffff9
3 changed files with 1 additions and 3 deletions

View file

@ -100,14 +100,12 @@ Window
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"
}