Settings: hiding misc tabs for now, as its empty

This commit is contained in:
quadbyte 2025-08-13 08:37:45 -04:00
parent 2fe3ad48a7
commit c4264f2f09

View file

@ -20,7 +20,8 @@ NLoader {
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
property var tabsModel: [{ property var tabsModel: [
{
"label": "General", "label": "General",
"icon": "tune", "icon": "tune",
"source": "Tabs/General.qml" "source": "Tabs/General.qml"
@ -56,11 +57,13 @@ NLoader {
"label": "Wallpaper Selector", "label": "Wallpaper Selector",
"icon": "wallpaper_slideshow", "icon": "wallpaper_slideshow",
"source": "Tabs/WallpaperSelector.qml" "source": "Tabs/WallpaperSelector.qml"
}, { },
"label": "Misc", // {
"icon": "more_horiz", // "label": "Misc",
"source": "Tabs/Misc.qml" // "icon": "more_horiz",
}, { // "source": "Tabs/Misc.qml"
// },
{
"label": "About", "label": "About",
"icon": "info", "icon": "info",
"source": "Tabs/About.qml" "source": "Tabs/About.qml"
@ -109,7 +112,7 @@ NLoader {
delegate: Rectangle { delegate: Rectangle {
id: tabItem id: tabItem
readonly property bool selected: index === currentTabIndex
width: parent.width width: parent.width
height: 32 * scaling // Back to original height height: 32 * scaling // Back to original height
radius: Style.radiusSmall * scaling radius: Style.radiusSmall * scaling
@ -117,6 +120,8 @@ NLoader {
border.color: "transparent" border.color: "transparent"
border.width: 0 border.width: 0
readonly property bool selected: index === currentTabIndex
// Subtle hover effect: only icon/text color tint on hover // Subtle hover effect: only icon/text color tint on hover
property bool hovering: false property bool hovering: false