diff --git a/Linphone/view/Control/Button/Button.qml b/Linphone/view/Control/Button/Button.qml index 2f1f35613..6a762df53 100644 --- a/Linphone/view/Control/Button/Button.qml +++ b/Linphone/view/Control/Button/Button.qml @@ -14,6 +14,7 @@ Control.Button { property bool inversedColors: false property int textSize: 18 * DefaultStyle.dp property int textWeight: 600 * DefaultStyle.dp + property var textHAlignment: Text.AlignHCenter property int radius: 48 * DefaultStyle.dp property color textColor: DefaultStyle.grey_0 property bool underline: activeFocus || containsMouse @@ -78,7 +79,7 @@ Control.Button { } component ButtonText: Text { - horizontalAlignment: Text.AlignHCenter + horizontalAlignment: mainItem.textHAlignment verticalAlignment: Text.AlignVCenter wrapMode: Text.WrapAnywhere text: mainItem.text diff --git a/Linphone/view/Page/Window/Call/CallsWindow.qml b/Linphone/view/Page/Window/Call/CallsWindow.qml index 2ce0c8472..dae436e32 100644 --- a/Linphone/view/Page/Window/Call/CallsWindow.qml +++ b/Linphone/view/Page/Window/Call/CallsWindow.qml @@ -1604,6 +1604,7 @@ AbstractWindow { contentImageColor: down || checked ? DefaultStyle.main1_500_main : DefaultStyle.main2_500main textSize: 14 * DefaultStyle.dp textWeight: 400 * DefaultStyle.dp + textHAlignment: Text.AlignLeft spacing: 5 * DefaultStyle.dp } popup.contentItem: ColumnLayout {