X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.cpp;h=b00fc6bcdb3e4f4781b7bcb12dcd154a1de8cb61;hb=f110b0b16c4e305f009f233dafd0b279949638cd;hp=606f447b68c99ffdf8da7fce0495ed4709a73610;hpb=dbdb28962362626a729fc052ee8c8934466b8396;p=libs%2Fgltk.git diff --git a/source/entry.cpp b/source/entry.cpp index 606f447..b00fc6b 100644 --- a/source/entry.cpp +++ b/source/entry.cpp @@ -369,7 +369,7 @@ void Entry::animate(const Time::TimeDelta &) rebuild(); } -void Entry::on_geometry_change() +void Entry::on_size_change() { if(multiline) check_view_range(); @@ -495,6 +495,7 @@ void Entry::slider_value_changed(double value) first_row = text.get_n_lines()-visible_rows-static_cast(value); if(first_row!=old_first_row) signal_scroll_position_changed.emit(first_row); + rebuild(); } }