Skip to content
Discussion options

You must be logged in to vote

The GridLayout does not let you use if yet :-/

You could use a VerticalLayout containing HorizontalLayouts: That way you can use if root.auth_type == Whatever: HorizontalLayout { ... }

You will then need to place the elments in the HorizontalLayout absolutely on the x axis then, which is not nice:-/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hunger
Comment options

hunger Jul 23, 2025
Collaborator

Answer selected by barafael
@barafael
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants