forked from Silverfish/proton-bridge
feat(GODT-2787): Fix vertical alignement on CategoryItem.
This commit is contained in:
committed by
Romain Le Jeune
parent
78c0651661
commit
ccb9b7f81c
@ -39,7 +39,6 @@ Item {
|
|||||||
colorScheme: root.colorScheme
|
colorScheme: root.colorScheme
|
||||||
text: root.text
|
text: root.text
|
||||||
type: Label.Body
|
type: Label.Body
|
||||||
Layout.fillHeight: true
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
Layout.bottomMargin: root._bottomMargin
|
Layout.bottomMargin: root._bottomMargin
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
@ -47,15 +46,14 @@ Item {
|
|||||||
|
|
||||||
ColorImage {
|
ColorImage {
|
||||||
id: infoImage
|
id: infoImage
|
||||||
Layout.preferredHeight: 21
|
|
||||||
Layout.preferredWidth: 21
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
|
Layout.bottomMargin: root._bottomMargin
|
||||||
color: root.colorScheme.interaction_norm
|
color: root.colorScheme.interaction_norm
|
||||||
height: 21
|
height: 21
|
||||||
|
width: 21
|
||||||
source: "/qml/icons/ic-info-circle.svg"
|
source: "/qml/icons/ic-info-circle.svg"
|
||||||
sourceSize.height: 21
|
sourceSize.height: 21
|
||||||
sourceSize.width: 21
|
sourceSize.width: 21
|
||||||
width: 21
|
|
||||||
visible: root.hint !== ""
|
visible: root.hint !== ""
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: imageArea
|
id: imageArea
|
||||||
|
|||||||
Reference in New Issue
Block a user