mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
add wallpaper cycling feature
This commit is contained in:
@@ -28,9 +28,10 @@ Item {
|
||||
Rectangle {
|
||||
property int tabCount: tabRepeater.count
|
||||
property bool isActive: tabBar.currentIndex === index
|
||||
property bool hasIcon: tabBar.showIcons && modelData.icon
|
||||
&& modelData.icon.length > 0
|
||||
property bool hasText: modelData.text && modelData.text.length > 0
|
||||
property bool hasIcon: tabBar.showIcons && modelData && ("icon" in modelData)
|
||||
&& modelData.icon && modelData.icon.length > 0
|
||||
property bool hasText: modelData && ("text" in modelData)
|
||||
&& modelData.text && modelData.text.length > 0
|
||||
|
||||
width: tabBar.equalWidthTabs ? (tabBar.width - tabBar.spacing * (tabCount - 1))
|
||||
/ tabCount : contentRow.implicitWidth + Theme.spacingM * 2
|
||||
|
||||
Reference in New Issue
Block a user