X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.cpp;h=4c1713a022306d4b7670ef3953be2a62457f85a9;hb=5f73de83d46138faa2b4c1b0a725d0a705988388;hp=11fd2423c8cffc3e6d25e4760f29bb33203b1eee;hpb=cecc9edd95fea4728325575406deb866db8227ee;p=libs%2Fgltk.git diff --git a/source/entry.cpp b/source/entry.cpp index 11fd242..4c1713a 100644 --- a/source/entry.cpp +++ b/source/entry.cpp @@ -5,8 +5,8 @@ #include "entry.h" #include "graphic.h" #include "part.h" +#include "slider.h" #include "style.h" -#include "vslider.h" using namespace std; @@ -487,6 +487,7 @@ void Entry::check_view_range() signal_scroll_position_changed.emit(first_row); slider->set_range(0, scroll); + slider->set_page_size(visible_rows); slider->set_value(scroll-first_row); }