mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix gutter
This commit is contained in:
@@ -114,6 +114,7 @@ def get_box_model(
|
|||||||
content_height = min(content_height, max_height)
|
content_height = min(content_height, max_height)
|
||||||
|
|
||||||
content_height = max(Fraction(1), content_height)
|
content_height = max(Fraction(1), content_height)
|
||||||
|
model = BoxModel(
|
||||||
model = BoxModel(content_width, content_height, margin)
|
content_width + gutter.width, content_height + gutter.height, margin
|
||||||
|
)
|
||||||
return model
|
return model
|
||||||
|
|||||||
Reference in New Issue
Block a user