mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 08:05:16 +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
|
width: minimumWidth
|
||||||
height: minimumHeight
|
height: minimumHeight
|
||||||
|
|
||||||
|
backgroundColor: UM.Theme.getColor("main_background")
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
id: header
|
id: header
|
||||||
@ -50,7 +52,7 @@ UM.Dialog
|
|||||||
UM.I18nCatalog{id: catalog; name: "cura"}
|
UM.I18nCatalog{id: catalog; name: "cura"}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: version
|
id: version
|
||||||
|
|
||||||
@ -63,7 +65,7 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: description
|
id: description
|
||||||
width: parent.width
|
width: parent.width
|
||||||
@ -76,7 +78,7 @@ UM.Dialog
|
|||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: creditsNotes
|
id: creditsNotes
|
||||||
width: parent.width
|
width: parent.width
|
||||||
@ -105,20 +107,20 @@ UM.Dialog
|
|||||||
delegate: Row
|
delegate: Row
|
||||||
{
|
{
|
||||||
spacing: UM.Theme.getSize("narrow_margin").width
|
spacing: UM.Theme.getSize("narrow_margin").width
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
text: "<a href='%1' title='%2'>%2</a>".arg(model.url).arg(model.name)
|
text: "<a href='%1' title='%2'>%2</a>".arg(model.url).arg(model.name)
|
||||||
width: (projectsList.width * 0.25) | 0
|
width: (projectsList.width * 0.25) | 0
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
onLinkActivated: Qt.openUrlExternally(link)
|
onLinkActivated: Qt.openUrlExternally(link)
|
||||||
}
|
}
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
text: model.description
|
text: model.description
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
width: ((projectsList.width * 0.6) | 0) - parent.spacing * 2 - projectsListScrollBar.width
|
width: ((projectsList.width * 0.6) | 0) - parent.spacing * 2 - projectsListScrollBar.width
|
||||||
}
|
}
|
||||||
Label
|
UM.Label
|
||||||
{
|
{
|
||||||
text: model.license
|
text: model.license
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user