Fix dark mode issues for about dialog

CURA-8688
This commit is contained in:
casper 2022-02-25 12:12:57 +01:00
parent 4a71278d7c
commit 2d4a389825

View File

@ -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