mirror of https://github.com/davisking/dlib.git
Made the horizontal scroll speed for the list_box more reasonable.
This commit is contained in:
parent
66bbc5150c
commit
8e1f4d4cfe
|
@ -2238,6 +2238,7 @@ namespace dlib
|
||||||
last_selected(0)
|
last_selected(0)
|
||||||
{
|
{
|
||||||
set_vertical_scroll_increment(mfont->height());
|
set_vertical_scroll_increment(mfont->height());
|
||||||
|
set_horizontal_scroll_increment(mfont->height());
|
||||||
|
|
||||||
style.reset(new list_box_style_default());
|
style.reset(new list_box_style_default());
|
||||||
enable_events();
|
enable_events();
|
||||||
|
|
Loading…
Reference in New Issue