Update vulnerable dependencies and migrate to Iced 0.14.
This commit is contained in:
@@ -142,7 +142,7 @@ pub fn view(
|
||||
|
||||
// Active indicator: 2px left border (like bDS/VS Code)
|
||||
let btn_row: Element<'static, Message> = if is_active {
|
||||
let indicator = container(Space::new(0, 0))
|
||||
let indicator = container(Space::new())
|
||||
.width(Length::Fixed(2.0))
|
||||
.height(Length::Fixed(48.0))
|
||||
.style(|_theme: &Theme| container::Style {
|
||||
@@ -151,7 +151,7 @@ pub fn view(
|
||||
});
|
||||
iced::widget::row![indicator, btn].into()
|
||||
} else {
|
||||
let spacer = Space::with_width(2.0);
|
||||
let spacer = Space::new().width(2.0);
|
||||
iced::widget::row![spacer, btn].into()
|
||||
};
|
||||
|
||||
@@ -182,7 +182,7 @@ pub fn view(
|
||||
let bottom = Column::with_children(bottom_items).spacing(0);
|
||||
|
||||
container(
|
||||
column![top, Space::with_height(Length::Fill), bottom,]
|
||||
column![top, Space::new().height(Length::Fill), bottom,]
|
||||
.width(Length::Fixed(50.0))
|
||||
.height(Length::Fill)
|
||||
.padding([4, 0]),
|
||||
|
||||
Reference in New Issue
Block a user