flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
11.17k stars 429 forks source link

Invoking ```flet.AlertDialog``` causes frame angles to become visible again ( ```page.bgcolor``` ```page.window_bgcolor``` set to transparent, ```page.window_frameless = True``` ) #1110

Closed JasonSettings closed 8 months ago

JasonSettings commented 1 year ago

Description

"Shadow" effect that happens when flet.AlertDialog pops up causes frame's straight angles to become visible again while page.bgcolor = ft.colors.TRANSPARENT, page.window_bgcolor = ft.colors.TRANSPARENT , page.window_frameless = True

Describe the results you received:

Ugly straight angles. Shape and size depends on frame width/height and alignment of 'main container' (in my particular case).

dialog_corners_shadow

Describe the results you expected:

Doesn't look very pretty to me. I don't want anything past my cute rounded corners, obviously.

Flet version (pip show flet):

Name: flet
Version: 0.4.2
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page: 
Author: Appveyor Systems Inc.
Author-email: hello@flet.dev
License: Apache-2.0
Location: C:\Python\Venvs\main_venv\Lib\site-packages
Requires: flet-core, httpx, oauthlib, packaging, watchdog, websocket-client, websockets

Operating system:

Windows 11 22H2

FeodorFitsner commented 1 year ago

Could you provide the code to reproduce the issue?