mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
apply style to widget
This commit is contained in:
@@ -140,7 +140,8 @@ class Size(NamedTuple):
|
||||
return Region(0, 0, width, height)
|
||||
|
||||
@property
|
||||
def lines_range(self) -> range:
|
||||
def line_range(self) -> range:
|
||||
"""Get a range covering lines."""
|
||||
return range(self.height)
|
||||
|
||||
def __add__(self, other: object) -> Size:
|
||||
|
||||
Reference in New Issue
Block a user