You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the opened issues and there are no duplicates
Describe the bug
In flet 0.25.2 the border radius and the centering of the Cupertino bottom sheet works :
but in the latest dev version flet==0.26.0.dev4041 the border radius can not be seen and the bottom sheet is being centered is not see that well because of the page being displayed under it :
Code sample
Code
importfletasftdefmain(page):
page.horizontal_alignment=ft.CrossAxisAlignment.CENTERtext=ft.Text(
"Welcome to our application! We aim to provide the best services and solutions ""to meet your needs. Our team is dedicated to ensuring customer satisfaction and ""delivering exceptional results. Here's what we offer:\n\n""- High-quality products\n""- Reliable customer support\n""- Continuous innovation\n""- A commitment to excellence\n\n""Thank you for choosing us. We look forward to serving you!",
size=16,
text_align=ft.TextAlign.JUSTIFY,
font_family="Quicksand", # Ensure font is specified
),
text_fields_container=ft.Container(
content=ft.Column(
text,
spacing=10,
alignment=ft.MainAxisAlignment.CENTER, # Center all elements verticallyhorizontal_alignment=ft.CrossAxisAlignment.CENTER, # Center all elements horizontally
),
border_radius=20,
padding=30,
bgcolor=ft.colors.WHITE,
)
bottom_sheet=ft.CupertinoBottomSheet(
content=ft.Container(
content=text_fields_container,
padding=ft.Padding(0, 0, 0, 250), # Add padding around the action sheet contentwidth=500, # Keep the desired widthheight=650
,
),
)
page.add(bottom_sheet)
bottom_sheet.open=Truepage.update()
ft.app(main)
### To reproduceJustrunthecodeonapythonIDE### Expected behaviorInthelatestfletreleaseflet==0.26.0.dev4041theborderradiusisnotreallyseenandthecenteringofthebottomsheetcannotbeseenbecauseofthepagebeingdisplayedbelowit### Screenshots / Videos<detailsopen><summary>Captures</summary>

</details>### Operating SystemWindows### Operating system detailsVersion23H2OSBuild22631.4751### Flet versionpipinstallflet==0.26.0.dev4041### RegressionYes, itusedtoworkinapreviousFletversion (pleasespecifytheversioninadditionaldetails)
### Suggestions_Noresponse_### Logs<detailsopen><summary>Logs</summary>```console
[Pasteyourlogshere]
Additional details
No response
The text was updated successfully, but these errors were encountered:
ndonkoHenri
changed the title
the border radius and the centering of the cupertino bottom sheet is not working in flet==0.26.0.dev4041
the border radius and the centering of the cupertino bottom sheet is not working in flet v0.26
Jan 27, 2025
Duplicate Check
Describe the bug
In flet 0.25.2 the border radius and the centering of the Cupertino bottom sheet works :
but in the latest dev version flet==0.26.0.dev4041 the border radius can not be seen and the bottom sheet is being centered is not see that well because of the page being displayed under it :
Code sample
Code
Additional details
No response
The text was updated successfully, but these errors were encountered: