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.
1 parent dabb773 commit dd4ec41Copy full SHA for dd4ec41
src/textual/_resolve.py
@@ -70,7 +70,7 @@ def resolve(
70
71
fraction_gutter = Fraction(gutter)
72
offsets = [0] + [
73
- fraction.__int__()
+ int(fraction)
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__(),
+ int(y),
+ int(content_width),
+ int(next_y) - int(y),
95
),
96
box_margin,
97
widget,
0 commit comments