mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 23:34:32 +08:00
Add monitor column to theme
Contributes to CL-1329
This commit is contained in:
parent
7d8c97dd7b
commit
c9588d173f
@ -51,7 +51,7 @@ Item
|
|||||||
{
|
{
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
width: 216 * screenScaleFactor // TODO: Theme! (Should match column size)
|
width: UM.Theme.getSize("monitor_column").width
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
color: UM.Theme.getColor("monitor_skeleton_loading")
|
color: UM.Theme.getColor("monitor_skeleton_loading")
|
||||||
@ -79,7 +79,7 @@ Item
|
|||||||
{
|
{
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
width: 216 * screenScaleFactor // TODO: Theme! (Should match column size)
|
width: UM.Theme.getSize("monitor_column").width
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
color: UM.Theme.getColor("monitor_skeleton_loading")
|
color: UM.Theme.getColor("monitor_skeleton_loading")
|
||||||
|
@ -120,7 +120,7 @@ Item
|
|||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font: UM.Theme.getFont("medium") // 14pt, regular
|
font: UM.Theme.getFont("medium") // 14pt, regular
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: 216 * screenScaleFactor // TODO: Theme! (Should match column size)
|
width: UM.Theme.getSize("monitor_column").width
|
||||||
|
|
||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
@ -135,7 +135,7 @@ Item
|
|||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font: UM.Theme.getFont("medium") // 14pt, regular
|
font: UM.Theme.getFont("medium") // 14pt, regular
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
width: 216 * screenScaleFactor // TODO: Theme! (Should match column size)
|
width: UM.Theme.getSize("monitor_column").width
|
||||||
|
|
||||||
// FIXED-LINE-HEIGHT:
|
// FIXED-LINE-HEIGHT:
|
||||||
height: 18 * screenScaleFactor // TODO: Theme!
|
height: 18 * screenScaleFactor // TODO: Theme!
|
||||||
|
@ -618,6 +618,7 @@
|
|||||||
"monitor_shadow_offset": [0.15, 0.15],
|
"monitor_shadow_offset": [0.15, 0.15],
|
||||||
"monitor_empty_state_offset": [5.6, 5.6],
|
"monitor_empty_state_offset": [5.6, 5.6],
|
||||||
"monitor_empty_state_size": [35.0, 25.0],
|
"monitor_empty_state_size": [35.0, 25.0],
|
||||||
"monitor_external_link_icon": [1.16, 1.16]
|
"monitor_external_link_icon": [1.16, 1.16],
|
||||||
|
"monitor_column": [18.0, 1.0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user