fix(Chat/CommunityColumn): Create new chat button looks inconsistent across views

Added consistency between chat / community views: Colour and button position modified to be the same.

Fixes #7648
This commit is contained in:
Noelia 2022-10-10 12:30:30 +02:00 committed by Noelia
parent de2c421b5e
commit 2716e8a7c9
2 changed files with 3 additions and 1 deletions

View File

@ -74,9 +74,10 @@ Item {
id: adHocChatButton id: adHocChatButton
icon.name: "edit" icon.name: "edit"
objectName: "startChatButton" objectName: "startChatButton"
icon.color: Theme.palette.directColor1
anchors.verticalCenter: communityHeader.verticalCenter anchors.verticalCenter: communityHeader.verticalCenter
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: 14 anchors.rightMargin: Style.current.padding
checked: root.store.openCreateChat checked: root.store.openCreateChat
highlighted: root.store.openCreateChat highlighted: root.store.openCreateChat
onClicked: { onClicked: {

View File

@ -44,6 +44,7 @@ Item {
anchors { anchors {
fill: parent fill: parent
margins: Style.current.padding margins: Style.current.padding
topMargin: Style.current.smallPadding
bottomMargin: 0 bottomMargin: 0
} }
spacing: Style.current.padding spacing: Style.current.padding