Open yst-one opened 1 week ago
import flet as ft
def main(page: ft.Page): page.window.frameless = True page.window.width = 320 page.window.height = 480 page.theme_mode= ft.ThemeMode.SYSTEM
page.padding= 0 page.add( ft.WindowDragArea(content= ft.Container(border_radius=20),expand=True), ft.IconButton(ft.icons.CLOSE, on_click=lambda _: page.window.close()) ) page.update()
ft.app(target=main, assets_dir="assets")
aa
No response
Windows
win11
0.24.1
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Can you share with which version of flet this used to work and share a screenshot of the resulting window?
Duplicate Check
Describe the bug
Code sample
import flet as ft
def main(page: ft.Page): page.window.frameless = True page.window.width = 320 page.window.height = 480 page.theme_mode= ft.ThemeMode.SYSTEM
ft.app(target=main, assets_dir="assets")
To reproduce
aa
Expected behavior
No response
Screenshots / Videos
No response
Operating System
Windows
Operating system details
win11
Flet version
0.24.1
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Logs
No response
Additional details
No response