flet
flet copied to clipboard
Window theme mode bug
Duplicate Check
- [ ] I have searched the opened issues and there are no duplicates
Describe the bug
When using a dark theme, the color of the window itself changes, but the title bar remains white.
Code
import flet as ft
import os, sys
def main(page: ft.Page):
# settings
page.title = "Console"
page.window_width = 600
page.window_height = 500
page.window_resizable = True
page.window_maximizable = False
page.window_left = 400
page.window_top = 200
page.theme_mode = "DARK"
page.window_visible = True
page.update()
ft.app(target = main, view = ft.AppView.FLET_APP_HIDDEN)
To reproduce
- Put a dark theme
Expected behavior
No response
Screenshots
Operating System
Windows
Operating system details
Windows 10
Flet version
0.23.0
Regression
No, it isn't
Suggestions
No response
Additional details
No response