mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-10 09:19:27 -05:00
fix tabbar warning
This commit is contained in:
@@ -66,7 +66,7 @@ ColumnLayout {
|
||||
id: indicator
|
||||
property int tabCount: root.tabButtonList.length
|
||||
property real fullTabSize: root.width / tabCount;
|
||||
property real targetWidth: tabBar.contentItem.children[0].children[tabBar.currentIndex].tabContentWidth
|
||||
property real targetWidth: tabBar.contentItem?.children[0]?.children[tabBar.currentIndex]?.tabContentWidth ?? 0
|
||||
|
||||
implicitWidth: targetWidth
|
||||
anchors {
|
||||
|
||||
Reference in New Issue
Block a user