flet
flet copied to clipboard
Transparent window background on linux
I tried to make the background of my window transparent using the example code given in the documentation. However, on linux mint I get a black background instead of a transparent one. Is there a workaround to get transparency on linux?
Operating system: Linux Mint Flet Version: 0.7.4
import flet as ft
def main(page: ft.Page):
page.window_bgcolor = ft.colors.TRANSPARENT
page.bgcolor = ft.colors.TRANSPARENT
page.window_title_bar_hidden = True
page.window_frameless = True
page.window_left = 400
page.window_top = 200
page.add(ft.ElevatedButton("I'm a floating button!"))
ft.app(target=main)