forked from Shinonome/dots-hyprland
add spacing to tab pages
This commit is contained in:
@@ -146,6 +146,7 @@ Scope { // Scope
|
|||||||
Layout.topMargin: 5
|
Layout.topMargin: 5
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
spacing: 10
|
||||||
currentIndex: sidebarRoot.selectedTab
|
currentIndex: sidebarRoot.selectedTab
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
tabBar.enableIndicatorAnimation = true
|
tabBar.enableIndicatorAnimation = true
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ Rectangle {
|
|||||||
Layout.topMargin: 5
|
Layout.topMargin: 5
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
spacing: 10
|
||||||
currentIndex: root.selectedTab
|
currentIndex: root.selectedTab
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
tabBar.enableIndicatorAnimation = true
|
tabBar.enableIndicatorAnimation = true
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ Item {
|
|||||||
Layout.topMargin: 10
|
Layout.topMargin: 10
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
spacing: 10
|
||||||
clip: true
|
clip: true
|
||||||
currentIndex: currentTab
|
currentIndex: currentTab
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
|
|||||||
Reference in New Issue
Block a user