flet icon indicating copy to clipboard operation
flet copied to clipboard

Window theme mode bug

Open theN1C1 opened this issue 8 months ago • 3 comments

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

  1. Put a dark theme

Expected behavior

No response

Screenshots

image-1

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

theN1C1 avatar Jun 19 '24 08:06 theN1C1