mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
learn more button alligned in UCP
CURA-11781
This commit is contained in:
parent
d3b1294e8b
commit
dc34fbc047
1 changed files with 22 additions and 22 deletions
|
@ -24,31 +24,31 @@ UM.Dialog
|
||||||
{
|
{
|
||||||
height: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
|
height: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
|
RowLayout
|
||||||
|
{
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: titleLabel
|
id: titleLabel
|
||||||
text: manager.isUcp? catalog.i18nc("@action:title Don't translate 'Universal Cura Project'", "Summary - Open Universal Cura Project (UCP)"): catalog.i18nc("@action:title", "Summary - Cura Project")
|
text: manager.isUcp? catalog.i18nc("@action:title Don't translate 'Universal Cura Project'", "Summary - Open Universal Cura Project (UCP)"): catalog.i18nc("@action:title", "Summary - Cura Project")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").height
|
anchors.leftMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.TertiaryButton
|
Cura.TertiaryButton
|
||||||
{
|
{
|
||||||
id: learnMoreButton
|
id: learnMoreButton
|
||||||
visible: manager.isUcp
|
visible: manager.isUcp
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").height
|
|
||||||
text: catalog.i18nc("@button", "Learn more")
|
text: catalog.i18nc("@button", "Learn more")
|
||||||
iconSource: UM.Theme.getIcon("LinkExternal")
|
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||||
|
anchors.left: titleLabel.right
|
||||||
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("default_margin").height
|
||||||
isIconOnRightSide: true
|
isIconOnRightSide: true
|
||||||
onClicked: Qt.openUrlExternally("https://support.ultimaker.com/s/article/000002979")
|
onClicked: Qt.openUrlExternally("https://support.ultimaker.com/s/article/000002979")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue