-
Notifications
You must be signed in to change notification settings - Fork 608
Closed
Description
Using a container inside ft.Tabs will render the content but not the decoration like bgcolor.
Example code to reproduce:
import flet as ft
def main(page: ft.Page):
tabs = ft.Tabs(
tabs=[
ft.Tab(
label=ft.Text("Tab 1"),
content=ft.Container(
width=350,
height=170,
content=ft.Text("Tab 1 content here"),
bgcolor=ft.Colors.GREEN,
),
),
],
)
page.add(tabs)
ft.run(main)Screenshot:
Flet version: 0.70.0.dev5103
Python: cpython-3.13.5-linux-x86_64-gnu
OS: Manjaro Linux x86_64
Kernel: Linux 6.12.39-1-MANJARO
Desktop Environment: GNOME 48.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working