mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
data table as widget
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user