简体   繁体   中英

SWT - wrap text in table cells

I am trying to find a way to wrap text in table cells using SWT, but I'm stuck. Does anybody know of a way to do it? Or is there a different way to approach the problem? Basically, I have 12 columns: 6 of them are check boxes, and remaining are text fields only.

The text in the columns should be wrap automatically if the length of the size exceeds the width of the column.

Please help me

SWT Table does not support automatic line wrapping. You can however insert newline characters yourself. See the following links for further reference:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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