Skip to content

Commit

Permalink
New header logo
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 9036f06 commit 859d90d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 30 deletions.
18 changes: 10 additions & 8 deletions src/gui/nmcgui/NMCLogoArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@ import QtQuick.Layouts 1.15
import Style 1.0

Rectangle{
id: root
height: Style.nmcTrayWindowHeaderHeight
color: Style.ncBlue

RowLayout
{
anchors.fill: parent
Image {
source: Style.nmcLogoMagenta
fillMode: Image.PreserveAspectFit

Image {
anchors.verticalCenter: parent.verticalCenter
Layout.leftMargin: Style.nmcTrayWindowHeaderLeftMargin
source: Style.nmcLogoMagenta
}
anchors.topMargin: Style.nmcTopBottomHeaderMargin
anchors.bottomMargin: Style.nmcTopBottomHeaderMargin
anchors.left: root.left
anchors.top: root.top
anchors.bottom: root.bottom
anchors.leftMargin: Style.nmcTrayWindowHeaderLeftMargin
}
}
44 changes: 22 additions & 22 deletions theme/NMCIcons/LogoMagenta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions theme/Style/Style.qml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ QtObject {
property int nmcTrayWindowHeaderHeight: variableSize(36)
property int nmcTrayWindowItemListHeight: variableSize(46)
property int nmcTrayWindowHeaderLeftMargin: 20
property int nmcTopBottomHeaderMargin: 5
readonly property color nmcBrowserButtonColor: "#484848"
readonly property color nmcCurrentUserHeaderColor: currentUserHeaderColor
readonly property bool isSearchFieldVisible: false
Expand Down

0 comments on commit 859d90d

Please sign in to comment.