Add right margin to the feed to make space for the scroll bar

This commit is contained in:
Bu5hm4nn 2024-03-29 21:39:48 -06:00
parent b43033b0ba
commit b82e139013

View File

@ -255,9 +255,16 @@ fn render_a_feed(
};
app.vert_scroll_area()
.auto_shrink(false)
.id_source(scroll_area_id)
.show(ui, |ui| {
egui::Frame::none()
.outer_margin(egui::Margin {
left: 0.0,
right: 10.0,
top: 0.0,
bottom: 0.0,
})
.rounding(app.theme.feed_scroll_rounding(&feed_properties))
.fill(app.theme.feed_scroll_fill(&feed_properties))
.stroke(app.theme.feed_scroll_stroke(&feed_properties))