Tabbed content and border titles
See blog post...
https://textual.textualize.io/blog/2023/03/22/textual-0160-adds-tabbedcontent-and-border-titles/
[0.16.0] - 2023-03-22
Added
- Added
parser_factory
argument toMarkdown
andMarkdownViewer
constructors #2075 - Added
HorizontalScroll
#1957 - Added
Center
#1957 - Added
Middle
#1957 - Added
VerticalScroll
(mimicking the old behaviour ofVertical
) #1957 - Added
Widget.border_title
andWidget.border_subtitle
to set border (sub)title for a widget #1864 - Added CSS styles
border_title_align
andborder_subtitle_align
. - Added
TabbedContent
widget #2059 - Added
get_child_by_type
method to widgets / app #2059 - Added
Widget.render_str
method #2059 - Added TEXTUAL_DRIVER environment variable
Changed
- Dropped "loading-indicator--dot" component style from LoadingIndicator #2050
- Tabs widget now sends Tabs.Cleared when there is no active tab.
- Breaking change: changed default behaviour of
Vertical
(seeVerticalScroll
) #1957 - The default
overflow
style forHorizontal
was changed tohidden hidden
#1957 DirectoryTree
also acceptspathlib.Path
objects as the path to list #1438
Removed
- Removed
sender
attribute from messages. It's now just private (_sender
). #2071