mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +08:00
Merge pull request #12634 from Ultimaker/CURA-9402_fix_background_dark_theme
Fix background dark theme
This commit is contained in:
commit
3dc646874d
@ -17,6 +17,7 @@ UM.Dialog
|
|||||||
minimumWidth: UM.Theme.getSize("popup_dialog").width
|
minimumWidth: UM.Theme.getSize("popup_dialog").width
|
||||||
minimumHeight: UM.Theme.getSize("popup_dialog").height
|
minimumHeight: UM.Theme.getSize("popup_dialog").height
|
||||||
width: minimumWidth
|
width: minimumWidth
|
||||||
|
backgroundColor: UM.Theme.getColor("main_background")
|
||||||
margin: UM.Theme.getSize("default_margin").width
|
margin: UM.Theme.getSize("default_margin").width
|
||||||
property int comboboxHeight: UM.Theme.getSize("default_margin").height
|
property int comboboxHeight: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ UM.Dialog
|
|||||||
height: 500 * screenScaleFactor
|
height: 500 * screenScaleFactor
|
||||||
minimumWidth: 400 * screenScaleFactor
|
minimumWidth: 400 * screenScaleFactor
|
||||||
minimumHeight: 250 * screenScaleFactor
|
minimumHeight: 250 * screenScaleFactor
|
||||||
|
backgroundColor: UM.Theme.getColor("main_background")
|
||||||
onVisibleChanged:
|
onVisibleChanged:
|
||||||
{
|
{
|
||||||
// Whenever the window is closed (either via the "Close" button or the X on the window frame), we want to update it in the stack.
|
// Whenever the window is closed (either via the "Close" button or the X on the window frame), we want to update it in the stack.
|
||||||
|
@ -19,6 +19,8 @@ UM.Dialog
|
|||||||
width: minimumWidth
|
width: minimumWidth
|
||||||
height: minimumHeight
|
height: minimumHeight
|
||||||
|
|
||||||
|
backgroundColor: UM.Theme.getColor("main_background")
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
id: header
|
id: header
|
||||||
|
@ -17,6 +17,7 @@ UM.Dialog
|
|||||||
title: catalog.i18nc("@title:window", "Open project file")
|
title: catalog.i18nc("@title:window", "Open project file")
|
||||||
width: UM.Theme.getSize("small_popup_dialog").width
|
width: UM.Theme.getSize("small_popup_dialog").width
|
||||||
height: UM.Theme.getSize("small_popup_dialog").height
|
height: UM.Theme.getSize("small_popup_dialog").height
|
||||||
|
backgroundColor: UM.Theme.getColor("main_background")
|
||||||
|
|
||||||
maximumHeight: height
|
maximumHeight: height
|
||||||
maximumWidth: width
|
maximumWidth: width
|
||||||
|
Loading…
x
Reference in New Issue
Block a user