Skip to content

When inserting a Text control in the FloatingActionButton content, bgcolor has no action. #196

@nascin

Description

@nascin

When inserting a Text control in the FloatingActionButton content, bgcolor has no action.

code example:

import flet
from flet import Column, FloatingActionButton, Page, Text

def main(page: Page):
    page.add(
        Column(
            [
                FloatingActionButton(
                    bgcolor='#ed90e1',
                    content=Text("I'm Big!", size=50), width=300, height=200
                ),
            ]
        )
    )
    page.update()

flet.app(target=main)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions