Skip to content

[Question] BottomSheet Size in Windows App #1908

Answered by ndonkoHenri
buzbyh asked this question in Q&A
Discussion options

You must be logged in to vote

The solution is mentioned here.
You have to set the use_material3 theme's param to False. By so doing, the BS will automatically fill the page's width. (No more need to even specify a width.)

def main(page: ft.Page):
  page.theme = ft.Theme(use_material3=False)
  ....

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@buzbyh
Comment options

@ndonkoHenri
Comment options

@buzbyh
Comment options

Answer selected by buzbyh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
3 participants