forked from Shinonome/dots-hyprland
rename navrailbutton -> navigationrailbutton
This commit is contained in:
+4
-1
@@ -12,6 +12,9 @@ Button {
|
||||
property bool toggled
|
||||
property string buttonIcon
|
||||
property string buttonText
|
||||
property bool expanded: false
|
||||
|
||||
property real baseSize: 50
|
||||
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
implicitHeight: columnLayout.implicitHeight
|
||||
@@ -25,7 +28,7 @@ Button {
|
||||
id: columnLayout
|
||||
spacing: 5
|
||||
Rectangle {
|
||||
width: 62
|
||||
implicitWidth: 62
|
||||
implicitHeight: navRailButtonIcon.height + 2 * 2
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
radius: Appearance.rounding.full
|
||||
@@ -138,7 +138,7 @@ Rectangle {
|
||||
spacing: 15
|
||||
Repeater {
|
||||
model: root.tabs
|
||||
NavRailButton {
|
||||
NavigationRailButton {
|
||||
toggled: root.selectedTab == index
|
||||
buttonText: modelData.name
|
||||
buttonIcon: modelData.icon
|
||||
|
||||
Reference in New Issue
Block a user