Skip to content

Commit

Permalink
Reduce popup size
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed May 15, 2024
1 parent 7c32ad9 commit 4d1aef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ impl Window {
match kind {
PopupKind::Popup => {
popup_settings.positioner.size_limits = Limits::NONE
.max_width(500.0)
.max_width(400.0)
.min_width(300.0)
.min_height(200.0)
.max_height(550.0);
.max_height(500.0);
get_popup(popup_settings)
}
PopupKind::QuickSettings => {
Expand Down
2 changes: 1 addition & 1 deletion src/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn top_view(state: &AppState) -> Element<AppMessage> {
let mut padding = Padding::new(10f32);
padding.bottom = 0f32;

let input = text_input::search_input("value", state.db.query())
let input = text_input::search_input("Search in last entries", state.db.query())
.on_input(AppMessage::Search)
.on_paste(AppMessage::Search)
.on_clear(AppMessage::Search("".into()));
Expand Down

0 comments on commit 4d1aef9

Please sign in to comment.