chore: re-export iced row and column
This removes the custom row and column implementations and uses the iced ones directly.
This commit is contained in:
parent
aef328238f
commit
647f81ac59
20 changed files with 103 additions and 227 deletions
|
|
@ -80,7 +80,7 @@ impl cosmic::Application for App {
|
|||
|
||||
/// Creates a view after each update.
|
||||
fn view(&self) -> Element<'_, Self::Message> {
|
||||
let mut content = cosmic::widget::column().spacing(12);
|
||||
let mut content = cosmic::widget::column::with_capacity(self.images.len()).spacing(12);
|
||||
|
||||
for (id, image) in self.images.iter().enumerate() {
|
||||
content = content.push(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue