From b2d75517e82136f18de072760aac467addbef2e1 Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Mon, 12 Aug 2024 17:02:35 +0200 Subject: [PATCH] fix ui --- Linphone/view/Item/Button.qml | 4 ++-- Linphone/view/Page/Main/MeetingPage.qml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Linphone/view/Item/Button.qml b/Linphone/view/Item/Button.qml index c2dd35949..35e0f2ad4 100644 --- a/Linphone/view/Item/Button.qml +++ b/Linphone/view/Item/Button.qml @@ -16,8 +16,8 @@ Control.Button { property int textWeight: 600 * DefaultStyle.dp property int radius: 48 * DefaultStyle.dp property color textColor: DefaultStyle.grey_0 - property bool underline: mainItem.activeFocus || containsMouse - property bool shadowEnabled: mainItem.activeFocus || containsMouse + property bool underline: activeFocus || containsMouse + property bool shadowEnabled: enabled && (activeFocus || containsMouse) property var contentImageColor property alias containsMouse: mouseArea.containsMouse hoverEnabled: true diff --git a/Linphone/view/Page/Main/MeetingPage.qml b/Linphone/view/Page/Main/MeetingPage.qml index 952e3f82f..f21e7f008 100644 --- a/Linphone/view/Page/Main/MeetingPage.qml +++ b/Linphone/view/Page/Main/MeetingPage.qml @@ -362,6 +362,7 @@ AbstractMainPage { anchors.fill: parent spacing: 0 Section { + Layout.topMargin: 58 * DefaultStyle.dp content: RowLayout { spacing: 10 * DefaultStyle.dp Button {