mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Unroll tab headers into single renderable, more parameterisation of tabs, more examples
This commit is contained in:
@@ -111,12 +111,7 @@ def test_highlight_full_range_out_of_bounds_start():
|
||||
|
||||
|
||||
def test_custom_styles():
|
||||
bar = UnderlineBar(
|
||||
highlight_range=(2, 4),
|
||||
highlight_style="red",
|
||||
background_style="green",
|
||||
width=6
|
||||
)
|
||||
bar = UnderlineBar(highlight_range=(2, 4), highlight_style="red", background_style="green", width=6)
|
||||
assert render(bar) == (
|
||||
f"{GREEN}━{STOP}"
|
||||
f"{GREEN}╸{STOP}"
|
||||
|
||||
Reference in New Issue
Block a user