mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 05:39: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
|
color: backgroundColor
|
||||||
border.color: transparent
|
border.color: transparent
|
||||||
radius: Math.round(width * 0.5)
|
radius: Math.round(width * 0.5)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.ToolTip
|
Cura.ToolTip
|
||||||
|
@ -100,14 +100,12 @@ Window
|
|||||||
PackageTypeTab
|
PackageTypeTab
|
||||||
{
|
{
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
padding: UM.Theme.getSize("default_margin").width/2
|
|
||||||
text: catalog.i18nc("@button", "Plugins")
|
text: catalog.i18nc("@button", "Plugins")
|
||||||
onClicked: content.source = "Plugins.qml"
|
onClicked: content.source = "Plugins.qml"
|
||||||
}
|
}
|
||||||
PackageTypeTab
|
PackageTypeTab
|
||||||
{
|
{
|
||||||
width: implicitWidth
|
width: implicitWidth
|
||||||
padding: Math.round(UM.Theme.getSize("default_margin").width / 2)
|
|
||||||
text: catalog.i18nc("@button", "Materials")
|
text: catalog.i18nc("@button", "Materials")
|
||||||
onClicked: content.source = "Materials.qml"
|
onClicked: content.source = "Materials.qml"
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ import UM 1.0 as UM
|
|||||||
TabButton
|
TabButton
|
||||||
{
|
{
|
||||||
property string pageTitle
|
property string pageTitle
|
||||||
|
padding: UM.Theme.getSize("narrow_margin").width
|
||||||
|
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user