mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-04 20:34:01 +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.maximumWidth: 500 * screenScaleFactor
|
||||
Layout.fillWidth: true
|
||||
font: UM.Theme.getFont("default")
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
@ -61,6 +62,7 @@ Item
|
||||
Layout.minimumWidth: 100 * screenScaleFactor
|
||||
Layout.maximumWidth: 500 * screenScaleFactor
|
||||
Layout.fillWidth: true
|
||||
font: UM.Theme.getFont("default")
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
|
@ -58,6 +58,6 @@ ColumnLayout
|
||||
Item
|
||||
{
|
||||
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 value: detailValue.text
|
||||
|
||||
// Spacing.
|
||||
Item
|
||||
{
|
||||
width: 40 * screenScaleFactor
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: icon
|
||||
@ -40,6 +34,7 @@ RowLayout
|
||||
Layout.minimumWidth: 50 * screenScaleFactor
|
||||
Layout.maximumWidth: 100 * screenScaleFactor
|
||||
Layout.fillWidth: true
|
||||
font: UM.Theme.getFont("default")
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
|
||||
@ -51,6 +46,7 @@ RowLayout
|
||||
Layout.minimumWidth: 50 * screenScaleFactor
|
||||
Layout.maximumWidth: 100 * screenScaleFactor
|
||||
Layout.fillWidth: true
|
||||
font: UM.Theme.getFont("default")
|
||||
renderType: Text.NativeRendering
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user