Skip to content

Commit 45f722a

Browse files
committed
Update badge properties and golden image in test
Modified badge offset and added large_size property in test_badge.py. Updated the corresponding golden image to reflect these property changes.
1 parent f9021bc commit 45f722a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

-299 Bytes
Loading

sdk/python/packages/flet/integration_tests/controls/test_badge.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ async def test_properties1(flet_app: ftt.FletTestApp, request):
2121
icon=ft.Icons.PHONE,
2222
badge=ft.Badge(
2323
label="1",
24-
offset=ft.Offset(0, 0),
24+
offset=ft.Offset(5, 5),
2525
alignment=ft.Alignment(-1, -1),
2626
bgcolor=ft.Colors.GREEN,
27+
# label_visible=False,
28+
large_size=20,
2729
),
2830
),
2931
)

0 commit comments

Comments
 (0)