style.shape
property has on effect on FilledTonalButton
and FilledButton
in Flet 0.25.2
#4568
Open
1 task done
Labels
bug
Something isn't working
Duplicate Check
Describe the bug
Hello,
After upgrading to Flet 0.25.2, I encountered two issues that seem to be related, so I am reporting them together:
Issue 1:
FilledTonalButton
andFilledButton
not displayingWhen running a statically packed Flet application (using flet publish),
FilledTonalButton
andFilledButton
do not render. This behavior was not observed in version 0.24.1.Issue 2: Rounded corners for buttons not working
In version 0.25.2, the shape property for buttons (e.g.,
ft.RoundedRectangleBorder
) no longer works as expected forFilledTonalButton
andFilledButton
. This issue also appears to have been introduced with the update.Code sample
To reproduce
Steps to Reproduce:
main.py
.FilledButton
andFilledTonalButton
do not appear.Expected behavior
I expect that when packaging a static application, it should work visually the same as a desktop application. At least in terms of appearance, as shown in the video.
Screenshots / Videos
flet run:
Expected behavior
12-14_18-30-38.mp4
flet publish:
Result
12-14_18-31-29.mp4
Operating System
Windows
Operating system details
Windows 11 24H2
Flet version
0.25.2
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
The text was updated successfully, but these errors were encountered: