mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
implement tooltip for input counters
This commit is contained in:
parent
afc33c1a03
commit
d1c05b6469
4 changed files with 25 additions and 16 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue