mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-29 08:21:47 +00:00
ui: Space at the bottom of each settings page
This commit is contained in:
parent
7f852faef9
commit
5801bbe7ff
@ -87,6 +87,8 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
||||
} else {
|
||||
"Enable to show all deleted events, but labeled as deleted"
|
||||
});
|
||||
|
||||
ui.add_space(20.0);
|
||||
}
|
||||
|
||||
fn secs_to_string(secs: u64) -> String {
|
||||
|
@ -36,4 +36,6 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
||||
let _ = GLOBALS.to_overlord.send(ToOverlordMessage::PruneCache);
|
||||
}
|
||||
}
|
||||
|
||||
ui.add_space(20.0);
|
||||
}
|
||||
|
@ -29,4 +29,6 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
||||
ui.label("Encrypted Private Key scrypt N parameter");
|
||||
ui.label("(NOTE: changing this will not re-encrypt any existing encrypted private key)");
|
||||
ui.add(Slider::new(&mut app.settings.log_n, 18..=22).text("logN iteratons"));
|
||||
|
||||
ui.add_space(20.0);
|
||||
}
|
||||
|
@ -172,4 +172,6 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
||||
ui.label("How long before event media becomes stale and needs rechecking?");
|
||||
ui.add(Slider::new(&mut app.settings.media_becomes_stale_hours, 2..=40).text("hours"));
|
||||
});
|
||||
|
||||
ui.add_space(20.0);
|
||||
}
|
||||
|
@ -27,4 +27,6 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
||||
),
|
||||
)
|
||||
.on_hover_text("Takes effect on next relay connection.");
|
||||
|
||||
ui.add_space(20.0);
|
||||
}
|
||||
|
@ -78,4 +78,6 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
|
||||
|
||||
ui.add_space(10.0);
|
||||
ui.add(Slider::new(&mut app.settings.mouse_acceleration, 0.5..=2.0).text("Mouse Acceleration"));
|
||||
|
||||
ui.add_space(20.0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user