Mercurial > dwindows
diff dwtest.c @ 207:767fca804cea
Fixed scrollbar value_change on OS/2... ID must be set on the scrollbar,
similar to OS/2 container widgets.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 01 Feb 2003 09:15:29 +0000 |
parents | f7911991c5df |
children | f8b50901ac45 |
line wrap: on
line diff
--- a/dwtest.c Sat Feb 01 08:30:20 2003 +0000 +++ b/dwtest.c Sat Feb 01 09:15:29 2003 +0000 @@ -178,7 +178,7 @@ dw_box_pack_start( pagebox, textbox2, font_width*width2, font_height*rows, TRUE, TRUE, 4); dw_window_set_font(textbox2, "9.WarpSans"); - scrollbar = dw_scrollbar_new(FALSE, 100, 0); + scrollbar = dw_scrollbar_new(FALSE, 100, 50); dw_box_pack_start( pagebox, scrollbar, 100, 20, TRUE, FALSE, 0); dw_scrollbar_set_range(scrollbar, 100, 50); dw_scrollbar_set_pos(scrollbar, 10);