开发者

SWT on OS X: how to make trees and tables striped

I want to avoid having to override each label provider. Is there a simpler approach to make trees and tables for OS X s开发者_高级运维triped (altering background color - white, light-blue)?


You simply want the alternating white/light-blue backgrounds that Mac OS typically provides? (Like what's in iTunes, for example?)

Just call setLinesVisible(true) on your Table.


Have a look at this JFace Snippet...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜