Skip to content

Commit

Permalink
check child.visible in row/column - recursiveVisibility does not work…
Browse files Browse the repository at this point in the history
… with offlineLayout
  • Loading branch information
whoozle committed Sep 24, 2023
1 parent be1d25e commit 4b79acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/Column.qml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Layout {
if (r > w)
w = r
c.viewY = p + tm
if (c.recursiveVisible)
if (c.visible)
p += c.height + tm + bm + this.spacing
}
if (p > 0)
Expand Down
2 changes: 1 addition & 1 deletion core/Row.qml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Layout {
if (b > h)
h = b
c.viewX = p + rm
if (c.recursiveVisible)
if (c.visible)
p += c.width + this.spacing + rm + lm
}
if (p > 0)
Expand Down

0 comments on commit 4b79acc

Please sign in to comment.