mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 12:25:53 +08:00
Simplify user agreement page layout
This commit is contained in:
parent
b25df557d3
commit
f8c4cee2de
@ -31,7 +31,7 @@ Item
|
|||||||
// Area where the cloud contents can be put. Pictures, texts and such.
|
// Area where the cloud contents can be put. Pictures, texts and such.
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: cloudContentsArea
|
id: contentsArea
|
||||||
anchors.top: titleLabel.bottom
|
anchors.top: titleLabel.bottom
|
||||||
anchors.bottom: getStartedButton.top
|
anchors.bottom: getStartedButton.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
@ -12,23 +12,13 @@ import Cura 1.1 as Cura
|
|||||||
//
|
//
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
Column
|
|
||||||
{
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.margins: 20
|
|
||||||
|
|
||||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||||
|
|
||||||
spacing: 40
|
|
||||||
|
|
||||||
// Placeholder
|
|
||||||
Label { text: " " }
|
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: titleLabel
|
id: titleLabel
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.topMargin: UM.Theme.getSize("welcome_pages_default_margin").height
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: catalog.i18nc("@label", "User Agreement")
|
text: catalog.i18nc("@label", "User Agreement")
|
||||||
@ -37,11 +27,28 @@ Item
|
|||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Item
|
||||||
|
{
|
||||||
|
anchors.top: titleLabel.bottom
|
||||||
|
anchors.bottom: agreeButton.top
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
width: parent.width * 2 / 3
|
|
||||||
id: disclaimerLineLabel
|
id: disclaimerLineLabel
|
||||||
|
/*
|
||||||
|
anchors.top: titleLabel.bottom
|
||||||
|
anchors.bottom: agreeButton.top
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
*/
|
||||||
|
anchors.centerIn: parent
|
||||||
|
anchors.margins: UM.Theme.getSize("welcome_pages_default_margin").width
|
||||||
|
|
||||||
|
width: (parent.width * 2 / 3) | 0
|
||||||
|
|
||||||
text: "<p><b>Disclaimer by Ultimaker</b></p>"
|
text: "<p><b>Disclaimer by Ultimaker</b></p>"
|
||||||
+ "<p>Please read this disclaimer carefully.</p>"
|
+ "<p>Please read this disclaimer carefully.</p>"
|
||||||
+ "<p>Except when otherwise stated in writing, Ultimaker provides any Ultimaker software or third party software \"As is\" without warranty of any kind. The entire risk as to the quality and perfoemance of Ultimaker software is with you.</p>"
|
+ "<p>Except when otherwise stated in writing, Ultimaker provides any Ultimaker software or third party software \"As is\" without warranty of any kind. The entire risk as to the quality and perfoemance of Ultimaker software is with you.</p>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user