Various DataTable style fixes - fix text colors, fixed header styling in themes

This commit is contained in:
Darren Burns
2024-11-11 12:29:55 +00:00
parent e3d0fd268c
commit fb7fb60574
2 changed files with 16 additions and 5 deletions

View File

@@ -436,6 +436,8 @@ class ChangingThemeApp(App[None]):
table.add_columns(*HEADERS)
table.add_rows(ROWS)
table.zebra_stripes = True
table.fixed_columns = 1
table.cursor_type = "row"
yield table
yield ListView(
ListItem(Label("One")),