SWT ScrolledComposite disables information.

I am creating an application that has many rows of data returned from a database stub (which will become an Oracle database), and for some reason the scrollbar stops at about the 500th element. I am wondering if it doesn’t matter that all the elements are displayed in the scroll bar.

+3
source share
2 answers

I assume that you are using Windows because there is a fairly common problem with scrollbars in Windows: the maximum value is a short int, 32,768. Therefore, if the height of the ScrolledComposite inner composite exceeds 32,768 pixels, the composite will be cropped.

, : , . ScrollBar, ScrolledComposite, , ScrollBar, ScrollListener .

- , , .

+1

ScrollBar. setMinimum() setMaximum() .

. , , Page Up Page Down. setPageIncrement().

, Oracle , . , 500 .

0

Source: https://habr.com/ru/post/1745860/


All Articles