This commit is contained in:
Will McGugan
2022-02-18 22:42:02 +00:00
parent d628b30845
commit 1b50d77aaf

View File

@@ -13,8 +13,11 @@ else:
class Edge(Protocol): class Edge(Protocol):
"""Any object that defines an edge (such as Layout).""" """Any object that defines an edge (such as Layout)."""
# Size of edge in cells, or None for no fixed size
size: int | None size: int | None
# Portion of flexible space to use if size is None
fraction: int fraction: int
# Minimim size for edge, in cells
min_size: int min_size: int