search: improve search column header

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-02-22 20:01:23 -08:00
parent f7c1a39bc1
commit d19e4b1d2b
4 changed files with 11 additions and 5 deletions

View File

@@ -487,8 +487,7 @@ fn compose_note_button(interactive: bool, dark_mode: bool) -> impl Widget {
}
}
#[allow(unused)]
fn search_button() -> impl Widget {
pub fn search_button() -> impl Widget {
|ui: &mut egui::Ui| -> egui::Response {
let max_size = ICON_WIDTH * ICON_EXPANSION_MULTIPLE; // max size of the widget
let min_line_width_circle = 1.5; // width of the magnifying glass