diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-28 19:52:09 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-28 19:52:09 +0800 |
| commit | d478b3ed949dab291d8cca45f0acc0eeed95b00b (patch) | |
| tree | 4e960f655054cc194329d574f9785ddcf6417fff /Header.ui.qml | |
| parent | 862a9519d37b7857b2ed5575aa8a73053111839e (diff) | |
Customise the menu separators
Diffstat (limited to 'Header.ui.qml')
| -rw-r--r-- | Header.ui.qml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Header.ui.qml b/Header.ui.qml index 0096858..c951096 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -68,6 +68,20 @@ ToolBar { } } + Component { + id: menuSeparator + MenuSeparator { + contentItem: Rectangle { + implicitWidth: menu.width + implicitHeight: 1 + color: Eduport.mode + == Eduport.Mode.Light + ? Eduport.bsGray500 + : Eduport.bsGray300 + } + } + } + ToolButton { id: profile padding: 0 @@ -148,7 +162,8 @@ ToolBar { } } - MenuSeparator { + Loader { + sourceComponent: menuSeparator } Action { @@ -171,7 +186,8 @@ ToolBar { text: qsTr("Sign Out") } - MenuSeparator { + Loader { + sourceComponent: menuSeparator } Item { |