on xenial help sign in
visual review fixes
7dac15dLukáš Tinkl
qml/Wizard/Pages/77-system-update.qml+6−4
@@ -51,6 +51,7 @@ LocalComponents.Page {
51 font.weight: Font.Light
51 font.weight: Font.Light
52 color: textColor
52 color: textColor
53 wrapMode: Text.Wrap
53 wrapMode: Text.Wrap
54+ fontSize: "small"
54 text: i18n.tr("There is a system update available and ready to install. Afterwards, the device will automatically restart.")
55 text: i18n.tr("There is a system update available and ready to install. Afterwards, the device will automatically restart.")
55 }
56 }
56
57
@@ -64,8 +65,6 @@ LocalComponents.Page {
64
65
65 Image {
66 Image {
66 Layout.rowSpan: 3
67 Layout.rowSpan: 3
67− width: units.gu(3)
68− height: width
69 sourceSize: Qt.size(units.gu(3), units.gu(3))
68 sourceSize: Qt.size(units.gu(3), units.gu(3))
70 fillMode: Image.PreserveAspectFit
69 fillMode: Image.PreserveAspectFit
71 source: "image://theme/distributor-logo"
70 source: "image://theme/distributor-logo"
@@ -75,17 +74,20 @@ LocalComponents.Page {
75 Layout.fillWidth: true
74 Layout.fillWidth: true
76 color: textColor
75 color: textColor
77 font.weight: Font.Normal
76 font.weight: Font.Normal
77+ fontSize: "small"
78 text: i18n.tr("Ubuntu system")
78 text: i18n.tr("Ubuntu system")
79 }
79 }
80
80
81 Label {
81 Label {
82 font.weight: Font.Light
82 font.weight: Font.Light
83+ fontSize: "small"
83 color: textColor
84 color: textColor
84 text: i18n.tr("Version %1").arg(SystemImage.availableVersion)
85 text: i18n.tr("Version %1").arg(SystemImage.availableVersion)
85 }
86 }
86
87
87 Label {
88 Label {
88 font.weight: Font.Light
89 font.weight: Font.Light
90+ fontSize: "small"
89 color: textColor
91 color: textColor
90 text: SystemImage.updateSize
92 text: SystemImage.updateSize
91 }
93 }
@@ -105,7 +107,7 @@ LocalComponents.Page {
105 Rectangle {
107 Rectangle {
106 anchors.left: parent.left
108 anchors.left: parent.left
107 anchors.leftMargin: column.anchors.leftMargin == 0 ? staticMargin : 0
109 anchors.leftMargin: column.anchors.leftMargin == 0 ? staticMargin : 0
108− color: theme.palette.normal.base
110+ color: theme.palette.normal.foreground
109 radius: units.dp(4)
111 radius: units.dp(4)
110 width: buttonLabel.paintedWidth + units.gu(3)
112 width: buttonLabel.paintedWidth + units.gu(3)
111 height: buttonLabel.paintedHeight + units.gu(1.8)
113 height: buttonLabel.paintedHeight + units.gu(1.8)
@@ -114,7 +116,7 @@ LocalComponents.Page {
114 id: buttonLabel
116 id: buttonLabel
115 color: textColor
117 color: textColor
116 text: i18n.tr("Install and restart now")
118 text: i18n.tr("Install and restart now")
117− fontSize: "medium"
119+ font.weight: Font.Light
118 anchors.centerIn: parent
120 anchors.centerIn: parent
119 }
121 }
120
122