add add relay GUI

This commit is contained in:
Ken Sedgwick
2025-01-18 12:53:30 -08:00
parent 366ca24ac1
commit e436be400e
6 changed files with 121 additions and 18 deletions

View File

@@ -447,7 +447,7 @@ fn add_column_button() -> impl Widget {
sized_button("Add")
}
fn sized_button(text: &str) -> impl Widget + '_ {
pub(crate) fn sized_button(text: &str) -> impl Widget + '_ {
move |ui: &mut egui::Ui| -> egui::Response {
let painter = ui.painter();
let galley = painter.layout(