mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:36:25 +08:00
Change unselected intent to outline (dark theme)
The unselected intent radio buttons in the default profiles are by default white-filled. This is fixed to have a white outline and be filled with the main background's color. CURA-6941
This commit is contained in:
parent
961cd937b4
commit
64decc7345
@ -14,6 +14,7 @@ Item
|
|||||||
property color activeColor: UM.Theme.getColor("primary")
|
property color activeColor: UM.Theme.getColor("primary")
|
||||||
property color inactiveColor: UM.Theme.getColor("slider_groove")
|
property color inactiveColor: UM.Theme.getColor("slider_groove")
|
||||||
property color defaultItemColor: UM.Theme.getColor("small_button_active")
|
property color defaultItemColor: UM.Theme.getColor("small_button_active")
|
||||||
|
property color defaultItemFillColor: UM.Theme.getColor("main_background")
|
||||||
property int checkboxSize: Math.round(UM.Theme.getSize("radio_button").height * 0.75)
|
property int checkboxSize: Math.round(UM.Theme.getSize("radio_button").height * 0.75)
|
||||||
property int inactiveMarkerSize: 2 * barSize
|
property int inactiveMarkerSize: 2 * barSize
|
||||||
property int barSize: UM.Theme.getSize("slider_groove_radius").height
|
property int barSize: UM.Theme.getSize("slider_groove_radius").height
|
||||||
@ -135,6 +136,7 @@ Item
|
|||||||
radius: Math.round(width / 2)
|
radius: Math.round(width / 2)
|
||||||
|
|
||||||
border.color: defaultItemColor
|
border.color: defaultItemColor
|
||||||
|
color: defaultItemFillColor
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user