mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-21 05:09:37 +08:00
moved padding to PackageTybeTab and replaced default margin with narrow margin
This commit is contained in:
parent
887ac4aef8
commit
74193ffff9
@ -20,7 +20,6 @@ Button
|
||||
color: backgroundColor
|
||||
border.color: transparent
|
||||
radius: Math.round(width * 0.5)
|
||||
|
||||
}
|
||||
|
||||
Cura.ToolTip
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import UM 1.0 as UM
|
||||
TabButton
|
||||
{
|
||||
property string pageTitle
|
||||
padding: UM.Theme.getSize("narrow_margin").width
|
||||
|
||||
background: Rectangle
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user