How to hide an element in a Grid Layout without taking space? #8212
Unanswered
J0hannes101
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Having an This should work: GridLayout {
Row {
TextEdit {
height: enable_console_checkbox.checked ? self.preferred-height : 0px;
}
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to hide a element in a Grid Layout without taking space.
I've tried:
which wont work -->
"The binding for the property 'height' is part of a binding loop"
Since conditional elements aren't yet supported for grid layouts, it's not an option.
Beta Was this translation helpful? Give feedback.
All reactions