Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ensure ListTile's material parent has a transparent color for proper tile bgcolor visibility #4875

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

ndonkoHenri
Copy link
Contributor

@ndonkoHenri ndonkoHenri commented Feb 11, 2025

Resolves #4855

Test Code

import flet as ft


def main(page: ft.Page):
    page.theme_mode = ft.ThemeMode.LIGHT
    page.add(
        ft.Card(
            color=ft.Colors.RED,
            content=ft.Column(
                controls=[
                    ft.ListTile(
                        title=ft.Text("Hello"),
                    ),
                ],
            ),
        )
    )


ft.app(main)

Summary by Sourcery

Bug Fixes:

  • Fix the visibility of ListTile's bgcolor when the parent has a color.

@FeodorFitsner FeodorFitsner merged commit 5d65996 into main Feb 19, 2025
1 of 3 checks passed
@FeodorFitsner FeodorFitsner deleted the ndonkoHenri/fix-list-tile-color branch February 19, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Same code shows different appearance in Flet APP/Web/PC local.
2 participants