Wearable: replace translucent borderless Rectangles with plain Items
Change-Id: Ie27fe1f7181dd7aad49062d2a37eb3a4a7db3781 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
parent
ef42989c25
commit
bb66378c0d
|
@ -54,16 +54,12 @@ import "../Common"
|
|||
import "alarms.js" as AlarmData
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
Item {
|
||||
anchors.centerIn: parent
|
||||
|
||||
width: UIStyle.visibleDiameter
|
||||
height: width
|
||||
|
||||
radius: width / 2
|
||||
|
||||
color: "transparent"
|
||||
|
||||
QQC2.SwipeView {
|
||||
id: svAlarmsContainer
|
||||
|
||||
|
|
|
@ -54,14 +54,12 @@ import "../Common"
|
|||
import "fitness.js" as FitnessData
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
Item {
|
||||
anchors.centerIn: parent
|
||||
|
||||
width: UIStyle.visibleDiameter
|
||||
height: UIStyle.visibleRectHeight
|
||||
|
||||
color: "transparent"
|
||||
|
||||
QQ2.SwipeView {
|
||||
id: svFitnessContainer
|
||||
|
||||
|
|
|
@ -54,14 +54,12 @@ import "../Common"
|
|||
import "notifications.js" as NotificationData
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
Item {
|
||||
anchors.centerIn: parent
|
||||
|
||||
width: UIStyle.visibleDiameter
|
||||
height: UIStyle.visibleRectHeight
|
||||
|
||||
color: "transparent"
|
||||
|
||||
QQC2.SwipeView {
|
||||
id: svNotificationsContainer
|
||||
|
||||
|
@ -102,9 +100,7 @@ Item {
|
|||
|
||||
model: missedCallsList
|
||||
|
||||
delegate: Rectangle {
|
||||
radius: 10
|
||||
color: "transparent"
|
||||
delegate: Item {
|
||||
height: missedCallsView.height
|
||||
width: missedCallsView.width
|
||||
Column {
|
||||
|
|
|
@ -53,14 +53,12 @@ import QtQuick.Controls 2.0 as QQC2
|
|||
import "../Common"
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
Item {
|
||||
anchors.centerIn: parent
|
||||
|
||||
width: UIStyle.visibleDiameter
|
||||
height: UIStyle.visibleRectHeight
|
||||
|
||||
color: "transparent"
|
||||
|
||||
SettingsData {
|
||||
id: settingsData
|
||||
}
|
||||
|
|
|
@ -54,15 +54,13 @@ import "../Common"
|
|||
import "weather.js" as WeatherData
|
||||
|
||||
Item {
|
||||
Rectangle {
|
||||
Item {
|
||||
id: weatherCntr
|
||||
anchors.centerIn: parent
|
||||
|
||||
width: UIStyle.visibleDiameter
|
||||
height: UIStyle.visibleRectHeight
|
||||
|
||||
color: "transparent"
|
||||
|
||||
QQC2.SwipeView {
|
||||
id: svWeatherContainer
|
||||
|
||||
|
|
Loading…
Reference in New Issue