mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Change the header color and font in the configuration popup
Also fix some alignments with the printer type selector. Contributes to CURA-5876.
This commit is contained in:
parent
3593b7f152
commit
b993a7b0d9
2 changed files with 4 additions and 7 deletions
|
@ -16,8 +16,8 @@ Item
|
||||||
{
|
{
|
||||||
id: header
|
id: header
|
||||||
text: catalog.i18nc("@header", "Configurations")
|
text: catalog.i18nc("@header", "Configurations")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("small_button_text")
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ Item
|
||||||
ConfigurationListView
|
ConfigurationListView
|
||||||
{
|
{
|
||||||
anchors.top: header.bottom
|
anchors.top: header.bottom
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
|
outputDevice: Cura.MachineManager.printerOutputDevices.length >= 1 ? Cura.MachineManager.printerOutputDevices[0] : null
|
||||||
|
|
|
@ -23,8 +23,8 @@ Item
|
||||||
{
|
{
|
||||||
id: header
|
id: header
|
||||||
text: catalog.i18nc("@header", "Custom")
|
text: catalog.i18nc("@header", "Custom")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("small_button_text")
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
|
|
||||||
|
@ -51,9 +51,7 @@ Item
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: parent.left
|
left: parent.left
|
||||||
leftMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
top: header.bottom
|
top: header.bottom
|
||||||
topMargin: visible ? UM.Theme.getSize("default_margin").height : 0
|
topMargin: visible ? UM.Theme.getSize("default_margin").height : 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue