Use row, column with_capacity

This commit is contained in:
Jeremy Soller 2026-04-06 15:33:32 -06:00 committed by Jacob Kauffmann
parent 11b2617b6c
commit 781e99d293
3 changed files with 15 additions and 13 deletions

View file

@ -148,7 +148,7 @@ impl Application for App {
}
fn view(&self) -> Element<'_, Message> {
let mut column = widget::column().spacing(8).padding(8);
let mut column = widget::column::with_capacity(8).spacing(8).padding(8);
{
let mut button = widget::button::standard("Open File");
if self.dialog_opt.is_none() {