File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2424### Changed
2525
2626- Breaking change: The ` renderable ` property on the ` Static ` widget has been changed to ` content ` . https://github.com/Textualize/textual/pull/6041
27+ - Breaking change: Renamed ` Label ` constructor argument ` renderable ` to ` content ` for consistency https://github.com/Textualize/textual/pull/6045
2728
2829# [ 5.3.0] - 2025-08-07
2930
Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ class Label(Static):
4848
4949 def __init__ (
5050 self ,
51- # TODO: Should probably be renamed to `content`.
52- renderable : VisualType = "" ,
51+ content : VisualType = "" ,
5352 * ,
5453 variant : LabelVariant | None = None ,
5554 expand : bool = False ,
@@ -61,7 +60,7 @@ def __init__(
6160 disabled : bool = False ,
6261 ) -> None :
6362 super ().__init__ (
64- renderable ,
63+ content ,
6564 expand = expand ,
6665 shrink = shrink ,
6766 markup = markup ,
You can’t perform that action at this time.
0 commit comments