mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Made the plugin depend more on the theme
CURA-6005
This commit is contained in:
parent
98153769ff
commit
b4911478e3
3 changed files with 5 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue