mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-02 03:28:28 -04:00
fix(dash-tabs): update visibility logic for dash tab elements
Fixes #2822
Port 1.5
(cherry picked from commit f590a2965a)
This commit is contained in:
@@ -323,7 +323,8 @@ DankPopout {
|
||||
id: tabBar
|
||||
|
||||
width: parent.width
|
||||
height: 48
|
||||
height: visible ? 48 : 0
|
||||
visible: model.length > 0
|
||||
currentIndex: root.currentTabIndex
|
||||
spacing: Theme.spacingS
|
||||
equalWidthTabs: true
|
||||
@@ -355,7 +356,8 @@ DankPopout {
|
||||
|
||||
Item {
|
||||
width: parent.width
|
||||
height: Theme.spacingXS
|
||||
height: visible ? Theme.spacingXS : 0
|
||||
visible: tabBar.visible
|
||||
}
|
||||
|
||||
Item {
|
||||
|
||||
Reference in New Issue
Block a user