SWT Table with variable row height: Working on Linux, but not Mac/Windows

后端 未结 3 1486
-上瘾入骨i
-上瘾入骨i 2021-02-09 15:25

Problem: I need an SWT Table (JFace TableViewer) with variable row height. In fact, I solved this on my development machine (running Ubuntu 10.10). Unfortunately, this doesn\'

3条回答
  •  甜味超标
    2021-02-09 16:05

    I ran into this problem as well -- needing an SWT table widget that could support cells of varying heights. As the.duckman says, Win32 table rows cannot do this. We ended up using the KTable widget. It doesn't use the native OS tables.

    http://sourceforge.net/projects/ktable/

    It worked okay for us, but it's got some quirks. Luckily the source code is fairly easy to modify to suit your needs.

提交回复
热议问题