apply style to widget

This commit is contained in:
Will McGugan
2022-07-04 14:48:28 +01:00
parent 97c58a7b0a
commit f3a7c9483f
15 changed files with 701 additions and 325 deletions

View File

@@ -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: