We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dabb773 + 3170d7a commit 3992a38Copy full SHA for 3992a38
src/textual/_resolve.py
@@ -70,7 +70,7 @@ def resolve(
70
71
fraction_gutter = Fraction(gutter)
72
offsets = [0] + [
73
- fraction.__int__()
+ fraction.__floor__()
74
for fraction in accumulate(
75
value
76
for fraction in resolved_fractions
src/textual/layouts/vertical.py
@@ -89,9 +89,9 @@ def arrange(
89
_WidgetPlacement(
90
_Region(
91
box_margin.left,
92
- y.__int__(),
93
- content_width.__int__(),
94
- next_y.__int__() - y.__int__(),
+ y.__floor__(),
+ content_width.__floor__(),
+ next_y.__floor__() - y.__floor__(),
95
),
96
box_margin,
97
widget,
0 commit comments