Skip to content

Commit

Permalink
Fix avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen Fischer authored and Eugen Fischer committed Dec 12, 2023
1 parent 9c67be4 commit 9036f06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 3 additions & 6 deletions src/gui/nmcgui/NMCLogoArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@ import QtQuick.Layouts 1.15
import Style 1.0

Rectangle{
id: trayWindowMagentaBarBackground
anchors.left: trayWindowMainItem.left
anchors.right: trayWindowMainItem.right
height: Style.nmcTrayWindowHeaderHeight
color: Style.ncBlue
height: Style.nmcTrayWindowHeaderHeight
color: Style.ncBlue

RowLayout
{
anchors.fill: trayWindowMagentaBarBackground
anchors.fill: parent

Image {
anchors.verticalCenter: parent.verticalCenter
Expand Down
4 changes: 3 additions & 1 deletion src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ ApplicationWindow {
NMCLogoArea
{
id: trayWindowMagentaBarBackground
anchors.left: trayWindowMainItem.left
anchors.right: trayWindowMainItem.right
}

Rectangle{
Expand Down Expand Up @@ -514,7 +516,7 @@ ApplicationWindow {
height: Style.accountAvatarSize
width: Style.accountAvatarSize
cache: false
source: Style.currentAccountAvatar
source: Style.nmcAccountAvatarIcon
Layout.preferredHeight: Style.accountAvatarSize
Layout.preferredWidth: Style.accountAvatarSize

Expand Down

0 comments on commit 9036f06

Please sign in to comment.