forked from Shinonome/dots-hyprland
navigationrailbutton: make tabbar-compatible
This commit is contained in:
@@ -6,10 +6,10 @@ import QtQuick.Controls
|
|||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
import Quickshell.Io
|
import Quickshell.Io
|
||||||
|
|
||||||
Button {
|
TabButton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property bool toggled
|
property bool toggled: TabBar.tabBar.currentIndex === TabBar.index
|
||||||
property string buttonIcon
|
property string buttonIcon
|
||||||
property string buttonText
|
property string buttonText
|
||||||
property bool expanded: false
|
property bool expanded: false
|
||||||
|
|||||||
Reference in New Issue
Block a user