File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2626
2727- Breaking change: The ` renderable ` property on the ` Static ` widget has been changed to ` content ` . https://github.com/Textualize/textual/pull/6041
2828- Breaking change: ` HeaderTitle ` widget is now a static, with no ` text ` and ` sub_text ` reactives https://github.com/Textualize/textual/pull/6051
29+ - Breaking change: Renamed ` Label ` constructor argument ` renderable ` to ` content ` for consistency https://github.com/Textualize/textual/pull/6045
2930
3031# [ 5.3.0] - 2025-08-07
3132
Original file line number Diff line number Diff line change 1313 "5~" : "pageup" ,
1414 "6~" : "pagedown" ,
1515 "1H" : "home" ,
16+ "1~" : "home" ,
1617 "7~" : "home" ,
1718 "1F" : "end" ,
19+ "4~" : "end" ,
1820 "8~" : "end" ,
1921 "57358u" : "caps_lock" ,
2022 "57359u" : "scroll_lock" ,
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