Using proper Style everywhere
This commit is contained in:
parent
d8debd2429
commit
33217e33ed
5 changed files with 66 additions and 61 deletions
|
|
@ -3,15 +3,17 @@ import Quickshell
|
|||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import qs.Widgets
|
||||
import qs.Services
|
||||
import qs.Theme
|
||||
|
||||
PanelWindow {
|
||||
id: root
|
||||
|
||||
readonly property real scaling: Scaling.scale(screen)
|
||||
property var modelData
|
||||
|
||||
screen: modelData
|
||||
implicitHeight: 36
|
||||
implicitHeight: Style.barHeight * scaling
|
||||
color: "transparent"
|
||||
|
||||
anchors {
|
||||
|
|
@ -31,12 +33,12 @@ PanelWindow {
|
|||
|
||||
RowLayout {
|
||||
// Just testing
|
||||
NoctaliaToggle {
|
||||
NToggle {
|
||||
label: "Label"
|
||||
description: "Description"
|
||||
}
|
||||
|
||||
NoctaliaIconButton {
|
||||
NIconButton {
|
||||
icon: "refresh"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue