implement tooltip for input counters

This commit is contained in:
yggverse 2025-01-31 20:51:13 +02:00
parent afc33c1a03
commit d1c05b6469
4 changed files with 25 additions and 16 deletions

View file

@ -57,7 +57,8 @@ impl Titan for gtk::Box {
form.buffer().connect_changed({
let control = control.clone();
move |this| control.update(Some(this.char_count()))
let form = form.clone();
move |this| control.update(this.char_count(), form.text().len())
});
// Return activated `Self`