Skip to content

Commit

Permalink
Revert the removal of the space above the Search button
Browse files Browse the repository at this point in the history
  • Loading branch information
brianch committed Feb 12, 2024
1 parent c092c84 commit 3a47841
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/search_tab.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use iced::widget::svg::Handle;
use iced::widget::{Container, Button, column as col, Text, Radio, row, Row, Svg, PickList, Slider, Scrollable};
use iced::widget::{Container, Button, column as col, Text, Radio, row, Row, Svg, PickList, Slider, Scrollable, Space};
use iced::widget::text::LineHeight;
use iced::{alignment, Command, Element, Alignment, Length};
use std::io::BufReader;
Expand Down Expand Up @@ -520,6 +520,7 @@ impl Tab for SearchTab {
}
}

search_col = search_col.push(Space::new(Length::Fill, 10));
if self.show_searching_msg {
search_col = search_col.push(Text::new(lang::tr(&self.lang, "searching")));
}
Expand Down

0 comments on commit 3a47841

Please sign in to comment.