From ccb9b7f81c61b1bd223a3c97dc0770d3022d73e5 Mon Sep 17 00:00:00 2001 From: Romain LE JEUNE Date: Thu, 10 Aug 2023 10:38:06 +0200 Subject: [PATCH] feat(GODT-2787): Fix vertical alignement on CategoryItem. --- .../frontend/bridge-gui/bridge-gui/qml/CategoryItem.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/CategoryItem.qml b/internal/frontend/bridge-gui/bridge-gui/qml/CategoryItem.qml index 2653d95d..1e6342f2 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/CategoryItem.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/CategoryItem.qml @@ -39,7 +39,6 @@ Item { colorScheme: root.colorScheme text: root.text type: Label.Body - Layout.fillHeight: true Layout.alignment: Qt.AlignVCenter Layout.bottomMargin: root._bottomMargin wrapMode: Text.WordWrap @@ -47,15 +46,14 @@ Item { ColorImage { id: infoImage - Layout.preferredHeight: 21 - Layout.preferredWidth: 21 Layout.alignment: Qt.AlignVCenter + Layout.bottomMargin: root._bottomMargin color: root.colorScheme.interaction_norm height: 21 + width: 21 source: "/qml/icons/ic-info-circle.svg" sourceSize.height: 21 sourceSize.width: 21 - width: 21 visible: root.hint !== "" MouseArea { id: imageArea