From df9c4b0653fe21e6d4e0d71ffc1954780dada90c Mon Sep 17 00:00:00 2001 From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com> Date: Fri, 7 Jul 2023 10:16:33 -0300 Subject: [PATCH] materialradiobutton: update radius Change-Id: I00feb393feeb1c7e17dccfd75209b00de6e75e4f GitLab: #1241 --- src/app/commoncomponents/MaterialRadioButton.qml | 4 ++-- src/app/constant/JamiStrings.qml | 1 + src/app/constant/JamiTheme.qml | 2 +- src/app/settingsview/components/LinkedDevicesBase.qml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/commoncomponents/MaterialRadioButton.qml b/src/app/commoncomponents/MaterialRadioButton.qml index d9c90cefd..3ef7c8ccb 100644 --- a/src/app/commoncomponents/MaterialRadioButton.qml +++ b/src/app/commoncomponents/MaterialRadioButton.qml @@ -102,7 +102,7 @@ RadioButton { color: "transparent" implicitHeight: 20 implicitWidth: 20 - radius: JamiTheme.settingsBoxRadius + radius: 10 z: 1 border { @@ -116,7 +116,7 @@ RadioButton { anchors.verticalCenter: parent.verticalCenter color: checkedColor height: 12 - radius: JamiTheme.settingsBoxRadius + radius: 10 visible: checked || hovered width: 12 diff --git a/src/app/constant/JamiStrings.qml b/src/app/constant/JamiStrings.qml index 11b8c371f..251adc7b0 100644 --- a/src/app/constant/JamiStrings.qml +++ b/src/app/constant/JamiStrings.qml @@ -483,6 +483,7 @@ Item { // DeviceItemDelegate property string saveNewDeviceName: qsTr("Save") property string editDeviceName: qsTr("Edit") + property string deviceName: qsTr("Device name:") property string unlinkDevice: qsTr("Remove") property string deviceId: qsTr("Device Id") diff --git a/src/app/constant/JamiTheme.qml b/src/app/constant/JamiTheme.qml index fed95ed09..2974c9918 100644 --- a/src/app/constant/JamiTheme.qml +++ b/src/app/constant/JamiTheme.qml @@ -608,7 +608,7 @@ Item { property int settingsDescriptionPixelSize: calcSize(15) property int settingsCategorySpacing: 15 property int settingsCategoryAudioVideoSpacing: 6 - property int settingsBoxRadius: 10 + property int settingsBoxRadius: 5 property int settingsBlockSpacing: 40 property int settingsMenuChildrenButtonHeight: 30 property int settingsMenuHeaderButtonHeight: 50 diff --git a/src/app/settingsview/components/LinkedDevicesBase.qml b/src/app/settingsview/components/LinkedDevicesBase.qml index 39edd5838..1f6a1824d 100644 --- a/src/app/settingsview/components/LinkedDevicesBase.qml +++ b/src/app/settingsview/components/LinkedDevicesBase.qml @@ -107,7 +107,7 @@ ColumnLayout { Layout.fillWidth: true implicitWidth: root.width height: 70 - deviceName: root.isCurrent ? DeviceName : "Device name: " + DeviceName + deviceName: root.isCurrent ? DeviceName : JamiStrings.deviceName + " " + DeviceName deviceId: DeviceID onBtnRemoveDeviceClicked: removeDeviceSlot(index) isCurrent: root.isCurrent -- GitLab