summaryrefslogtreecommitdiff
path: root/Header.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 19:55:56 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 19:57:02 +0800
commit67f611b63cf80ebfb128bb3fb3d2bf17a90442de (patch)
tree7c6fc0ae8e8ea7239aea4ef61e00535751344dc5 /Header.ui.qml
parentdb7d0d21e4c8c2b2a914c279e4efc34d4e1d3db0 (diff)
Shorten menu item ID
Diffstat (limited to 'Header.ui.qml')
-rw-r--r--Header.ui.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/Header.ui.qml b/Header.ui.qml
index 29091b6..4fdeb7c 100644
--- a/Header.ui.qml
+++ b/Header.ui.qml
@@ -234,7 +234,7 @@ ToolBar {
sourceComponent: background
}
delegate: MenuItem {
- id: profileMenuItem
+ id: menuItem
font: Eduport.bsBtnFont
horizontalPadding: 16
verticalPadding: 6.4
@@ -242,8 +242,7 @@ ToolBar {
contentItem: RowLayout {
Image {
- source: profileMenuItem
- .icon.source
+ source: menuItem.icon.source
sourceSize {
width: profileMenuItem
.icon.width
@@ -261,8 +260,8 @@ ToolBar {
}
Text {
- text: profileMenuItem.text
- font: profileMenuItem.font
+ text: menuItem.text
+ font: menuItem.font
color: highlighted
? Eduport.bsDropdownLinkHoverColor
: Eduport.bsDropdownLinkColor