mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-05 14:54:33 +08:00
Made the plugin depend more on the theme
CURA-6005
This commit is contained in:
parent
98153769ff
commit
b4911478e3
@ -50,6 +50,7 @@ Item
|
|||||||
Layout.minimumWidth: 100 * screenScaleFactor
|
Layout.minimumWidth: 100 * screenScaleFactor
|
||||||
Layout.maximumWidth: 500 * screenScaleFactor
|
Layout.maximumWidth: 500 * screenScaleFactor
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -61,6 +62,7 @@ Item
|
|||||||
Layout.minimumWidth: 100 * screenScaleFactor
|
Layout.minimumWidth: 100 * screenScaleFactor
|
||||||
Layout.maximumWidth: 500 * screenScaleFactor
|
Layout.maximumWidth: 500 * screenScaleFactor
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,6 +58,6 @@ ColumnLayout
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 10 * screenScaleFactor
|
height: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,12 +17,6 @@ RowLayout
|
|||||||
property alias label: detailName.text
|
property alias label: detailName.text
|
||||||
property alias value: detailValue.text
|
property alias value: detailValue.text
|
||||||
|
|
||||||
// Spacing.
|
|
||||||
Item
|
|
||||||
{
|
|
||||||
width: 40 * screenScaleFactor
|
|
||||||
}
|
|
||||||
|
|
||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
{
|
{
|
||||||
id: icon
|
id: icon
|
||||||
@ -40,6 +34,7 @@ RowLayout
|
|||||||
Layout.minimumWidth: 50 * screenScaleFactor
|
Layout.minimumWidth: 50 * screenScaleFactor
|
||||||
Layout.maximumWidth: 100 * screenScaleFactor
|
Layout.maximumWidth: 100 * screenScaleFactor
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,6 +46,7 @@ RowLayout
|
|||||||
Layout.minimumWidth: 50 * screenScaleFactor
|
Layout.minimumWidth: 50 * screenScaleFactor
|
||||||
Layout.maximumWidth: 100 * screenScaleFactor
|
Layout.maximumWidth: 100 * screenScaleFactor
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user