Skip to content
Discussion options

You must be logged in to vote

Hi @retsyo!

Question 1

That's a bit tricky. I ended up adjusting the main content container to fill the screen vertically. This can be done using ui.query to select the element with class name "nicegui-content".

Furthermore I added a custom CSS definition to have the q-field__control element inside the QInput fill the vertical space. Otherwise the textarea itself wouldn't grow with its container.

# let the main content container fill the screen and prevent wrapping
ui.query('.nicegui-content').classes('h-screen no-wrap')

with ui.row():
    ui.label("open")
    ui.icon('File Open', color='primary').classes('text-5xl')

    ui.label("save")
    ui.icon('save', color='primary').classes('tex…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by retsyo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants