Skip to content
Snippets Groups Projects
Commit 0d1bdfdf authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

link device: fix ui for dark mode

Change-Id: I2d978db411036dab5af45cfc44a7e404d97a177f
parent f3dd3b46
Branches
Tags
No related merge requests found
...@@ -312,10 +312,10 @@ Rectangle { ...@@ -312,10 +312,10 @@ Rectangle {
Layout.preferredWidth: qrLoader.Layout.preferredWidth + 40 Layout.preferredWidth: qrLoader.Layout.preferredWidth + 40
Layout.preferredHeight: qrLoader.Layout.preferredHeight + 40 Layout.preferredHeight: qrLoader.Layout.preferredHeight + 40
visible: WizardViewStepModel.deviceAuthState === DeviceAuthStateEnum.TOKEN_AVAILABLE visible: WizardViewStepModel.deviceAuthState === DeviceAuthStateEnum.TOKEN_AVAILABLE
color: JamiTheme.primaryBackgroundColor color: JamiTheme.whiteColor
radius: 8 radius: 8
border.width: 1 border.width: 1
border.color: JamiTheme.tabbarBorderColor border.color: JamiTheme.whiteColor
Loader { Loader {
id: qrLoader id: qrLoader
...@@ -327,6 +327,7 @@ Rectangle { ...@@ -327,6 +327,7 @@ Rectangle {
sourceComponent: Image { sourceComponent: Image {
width: qrLoader.Layout.preferredWidth width: qrLoader.Layout.preferredWidth
height: qrLoader.Layout.preferredHeight height: qrLoader.Layout.preferredHeight
anchors.centerIn: parent
smooth: false smooth: false
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: "image://qrImage/raw_" + tokenUri source: "image://qrImage/raw_" + tokenUri
...@@ -356,6 +357,7 @@ Rectangle { ...@@ -356,6 +357,7 @@ Rectangle {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.maximumWidth: parent.parent.width - 40 Layout.maximumWidth: parent.parent.width - 40
text: tokenUri text: tokenUri
color: JamiTheme.textColor
font.pointSize: JamiTheme.wizardViewDescriptionFontPixelSize font.pointSize: JamiTheme.wizardViewDescriptionFontPixelSize
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
readOnly: true readOnly: true
...@@ -365,7 +367,7 @@ Rectangle { ...@@ -365,7 +367,7 @@ Rectangle {
color: JamiTheme.primaryBackgroundColor color: JamiTheme.primaryBackgroundColor
radius: 5 radius: 5
border.width: 1 border.width: 1
border.color: JamiTheme.tabbarBorderColor border.color: JamiTheme.textColor
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment