简体   繁体   English

在SWT中滚动时闪烁

[英]Flickering while scrolling in SWT

I'm using a SWT ScrolledComposite but when I scroll in Windows I get some flickering if I scroll to fast. 我正在使用SWT ScrolledComposite但是在Windows中滚动时,如果滚动到快速,会有些闪烁。 Can anyone please help me? 谁能帮帮我吗? How can I rectify this? 我该如何纠正?

I think you need to use SWT.DOUBLE_BUFFERED if you haven't used it already. 我认为您还需要使用SWT.DOUBLE_BUFFERED

Reference: flickering of image in SWT 参考: SWT中的图像闪烁

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM