data table as widget

This commit is contained in:
Will McGugan
2022-06-25 14:55:19 +01:00
parent 4f02f17a38
commit 82358fdb7b
4 changed files with 43 additions and 21 deletions

View File

@@ -354,11 +354,6 @@ class Region(NamedTuple):
x, y, width, height = self
return Offset(x + width, y + height)
@property
def offset(self) -> Offset:
x, y, _, _ = self
return Offset(x, y)
@property
def size(self) -> Size:
"""Get the size of the region."""