mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-29 23:35:23 +08:00
Fix dark mode issues for about dialog
CURA-8688
This commit is contained in:
parent
4a71278d7c
commit
2d4a389825
@ -19,6 +19,8 @@ UM.Dialog
|
||||
width: minimumWidth
|
||||
height: minimumHeight
|
||||
|
||||
backgroundColor: UM.Theme.getColor("main_background")
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: header
|
||||
@ -50,7 +52,7 @@ UM.Dialog
|
||||
UM.I18nCatalog{id: catalog; name: "cura"}
|
||||
}
|
||||
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
id: version
|
||||
|
||||
@ -63,7 +65,7 @@ UM.Dialog
|
||||
}
|
||||
}
|
||||
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
id: description
|
||||
width: parent.width
|
||||
@ -76,7 +78,7 @@ UM.Dialog
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
}
|
||||
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
id: creditsNotes
|
||||
width: parent.width
|
||||
@ -105,20 +107,20 @@ UM.Dialog
|
||||
delegate: Row
|
||||
{
|
||||
spacing: UM.Theme.getSize("narrow_margin").width
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
text: "<a href='%1' title='%2'>%2</a>".arg(model.url).arg(model.name)
|
||||
width: (projectsList.width * 0.25) | 0
|
||||
elide: Text.ElideRight
|
||||
onLinkActivated: Qt.openUrlExternally(link)
|
||||
}
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
text: model.description
|
||||
elide: Text.ElideRight
|
||||
width: ((projectsList.width * 0.6) | 0) - parent.spacing * 2 - projectsListScrollBar.width
|
||||
}
|
||||
Label
|
||||
UM.Label
|
||||
{
|
||||
text: model.license
|
||||
elide: Text.ElideRight
|
||||
|
Loading…
x
Reference in New Issue
Block a user