-
Notifications
You must be signed in to change notification settings - Fork 614
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
Applying ButtonStyle to TextButton has no effect.
Code sample
Code
import flet as ft
def main(page: ft.Page):
page.window.width = 400
page.window.height = 400
page.vertical_alignment = ft.MainAxisAlignment.CENTER
page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
page.add(
ft.TextButton(
content='test_button_0',
style=ft.ButtonStyle(
bgcolor=ft.Colors.WHITE,
color=ft.Colors.BLACK,
shape=ft.RoundedRectangleBorder(0),
)
)
)
if __name__ == '__main__':
ft.run(main)To reproduce
Run the code
Expected behavior
No response
Screenshots / Videos
Operating System
macOS
Operating system details
26.2
Flet version
0.80.1
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
No response
Additional details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
