mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-23 19:01:05 -07:00
Merge pull request #12634 from Ultimaker/CURA-9402_fix_background_dark_theme
Fix background dark theme
This commit is contained in:
commit
3dc646874d
4 changed files with 5 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ UM.Dialog
|
|||
minimumWidth: UM.Theme.getSize("popup_dialog").width
|
||||
minimumHeight: UM.Theme.getSize("popup_dialog").height
|
||||
width: minimumWidth
|
||||
backgroundColor: UM.Theme.getColor("main_background")
|
||||
margin: UM.Theme.getSize("default_margin").width
|
||||
property int comboboxHeight: UM.Theme.getSize("default_margin").height
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ UM.Dialog
|
|||
height: 500 * screenScaleFactor
|
||||
minimumWidth: 400 * screenScaleFactor
|
||||
minimumHeight: 250 * screenScaleFactor
|
||||
|
||||
backgroundColor: UM.Theme.getColor("main_background")
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ UM.Dialog
|
|||
width: minimumWidth
|
||||
height: minimumHeight
|
||||
|
||||
backgroundColor: UM.Theme.getColor("main_background")
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: header
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ UM.Dialog
|
|||
title: catalog.i18nc("@title:window", "Open project file")
|
||||
width: UM.Theme.getSize("small_popup_dialog").width
|
||||
height: UM.Theme.getSize("small_popup_dialog").height
|
||||
backgroundColor: UM.Theme.getColor("main_background")
|
||||
|
||||
maximumHeight: height
|
||||
maximumWidth: width
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue