corrected inner_area calculation

pull/11409/head
Stephen Broadley 4 months ago
parent 4a2ad21247
commit 2fed0f87e6

@ -205,7 +205,7 @@ impl View {
.area .area
.clip_left(gutter_width + null_width) .clip_left(gutter_width + null_width)
.clip_bottom(1) .clip_bottom(1)
.with_width(text_width.min(self.area.width)); .with_width(text_width.min(self.area.width - gutter_width));
} }
} }

Loading…
Cancel
Save