summary refs log tree commit diff
path: root/resources/qml/dialogs/PowerLevelEditor.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/dialogs/PowerLevelEditor.qml')
-rw-r--r--resources/qml/dialogs/PowerLevelEditor.qml24
1 files changed, 2 insertions, 22 deletions
diff --git a/resources/qml/dialogs/PowerLevelEditor.qml b/resources/qml/dialogs/PowerLevelEditor.qml

index 12458f62..048672e4 100644 --- a/resources/qml/dialogs/PowerLevelEditor.qml +++ b/resources/qml/dialogs/PowerLevelEditor.qml
@@ -49,30 +49,10 @@ ApplicationWindow { width: parent.width palette: Nheko.colors - component TabB : TabButton { - id: control - - contentItem: Text { - text: control.text - font: control.font - opacity: enabled ? 1.0 : 0.3 - color: control.down ? Nheko.colors.highlightedText : Nheko.colors.text - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - elide: Text.ElideRight - } - - background: Rectangle { - border.color: control.down ? Nheko.colors.highlight : Nheko.theme.separator - color: control.checked ? Nheko.colors.highlight : Nheko.colors.base - border.width: 1 - radius: 2 - } - } - TabB { + NhekoTabButton { text: qsTr("Roles") } - TabB { + NhekoTabButton { text: qsTr("Users") } }