mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings and changelog
This commit is contained in:
@@ -16,7 +16,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
- Added `textual.actions.SkipAction` exception which can be raised from an action to allow parents to process bindings.
|
||||
- Added `textual keys` preview.
|
||||
- Added ability to bind to a character in addition to key name. i.e. you can bind to "." or "full_stop"
|
||||
- Added ability to bind to a character in addition to key name. i.e. you can bind to "." or "full_stop".
|
||||
- Added TextLog.shrink attribute to allow renderable to reduce in size to fit width.
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
@@ -72,8 +72,9 @@ class TextLog(ScrollView, can_focus=True):
|
||||
|
||||
Args:
|
||||
content (RenderableType): Rich renderable (or text).
|
||||
width (int): Width to render or None to use optimal width. Defaults to None.
|
||||
expand (bool): Enable expand to widget width, or False to use `width`.
|
||||
width (int): Width to render or None to use optimal width. Defaults to `None`.
|
||||
expand (bool): Enable expand to widget width, or False to use `width`. Defaults to `False`.
|
||||
shrink (bool): Enable shrinking of content to fit width. Defaults to `True`.
|
||||
"""
|
||||
|
||||
renderable: RenderableType
|
||||
|
||||
Reference in New Issue
Block a user