fix
This commit is contained in:
parent
2d2aed39e2
commit
ff28ff2dd5
1 changed files with 1 additions and 4 deletions
|
|
@ -1920,11 +1920,9 @@ impl Tab {
|
||||||
} = theme::active().cosmic().spacing;
|
} = theme::active().cosmic().spacing;
|
||||||
let size = self.size_opt.get().unwrap_or(Size::new(0.0, 0.0));
|
let size = self.size_opt.get().unwrap_or(Size::new(0.0, 0.0));
|
||||||
|
|
||||||
let mut row = widget::row::with_capacity(7).align_items(Alignment::Center);
|
let mut row = widget::row::with_capacity(5).align_items(Alignment::Center).padding([0, space_m]);
|
||||||
let mut w = 0.0;
|
let mut w = 0.0;
|
||||||
|
|
||||||
row = row.push(widget::horizontal_space(Length::Fixed(space_m.into())));
|
|
||||||
|
|
||||||
let mut prev_button =
|
let mut prev_button =
|
||||||
widget::button(widget::icon::from_name("go-previous-symbolic").size(16))
|
widget::button(widget::icon::from_name("go-previous-symbolic").size(16))
|
||||||
.padding(space_xxs)
|
.padding(space_xxs)
|
||||||
|
|
@ -1964,7 +1962,6 @@ impl Tab {
|
||||||
})
|
})
|
||||||
.on_submit(Message::Location(location.clone())),
|
.on_submit(Message::Location(location.clone())),
|
||||||
);
|
);
|
||||||
row = row.push(widget::horizontal_space(Length::Fixed(space_m.into())));
|
|
||||||
return row.into();
|
return row.into();
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue