Skip to content

Commit 0cb2b3a

Browse files
committed
Update ListTile hover behavior and golden images
Refactored ListTile hover color documentation to clarify it only applies when `toggle_inputs` is True. Updated and replaced golden test images for macOS ListTile to reflect new toggle input states and removed obsolete images.
1 parent 592242b commit 0cb2b3a

8 files changed

Lines changed: 1 addition & 1 deletion

File tree

117 KB
Loading
Binary file not shown.
Binary file not shown.
18.6 KB
Loading
18.5 KB
Loading

sdk/python/packages/flet/integration_tests/controls/golden/macos/list_tile/toggle_initial.png renamed to sdk/python/packages/flet/integration_tests/controls/golden/macos/list_tile/toggle_inputs_initial.png

File renamed without changes.

sdk/python/packages/flet/src/flet/controls/material/list_tile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class ListTile(LayoutControl, AdaptiveControl):
115115

116116
hover_color: Optional[ColorValue] = None
117117
"""
118-
The tile's color when hovered.
118+
The tile's color when hovered. Only shows if `toggle_inputs` is True.
119119
"""
120120

121121
selected: bool = False

0 commit comments

Comments
 (0)