| [news.eclipse.platform.swt] Re: Checkbox appears when resizing table on Mac |
I'd suggest use : a) Table with SWT.CHECK if you only need one checkbox b) TableViewer with CheckBoxCellEditor (or the improved version found in our snippets collection[1]).
[1]http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/
Grant Gayed wrote:I think it will be difficult to know what's happening without a snippet that
shows the problem. Are you able to provide one (ideal snippet template:
http://www.eclipse.org/swt/faq.php )?
Grant
"Srdan Bejakovic" <sbejakovic@xxxxxxxxx> wrote in message news:g0h3sl$k37$1@xxxxxxxxxxxxxxxxxxxxI created a table with columns of checkboxes, combos and other controls. The checkboxes are in the first column. When the table is resized on a Mac, an additional checkbox appears over the column header; this doesn't happen on Windows. I don't know if it's relevant, but the table is also virtual. Any ideas about what can be done about this problem?
I've attached a snippet that reproduces the problem on Mac. The table starts out fine, as it's expanded, a checkbox appears, and as it becomes
larger the checkbox once again disappears.
-- B e s t S o l u t i o n . at -------------------------------------------------------------------- Tom Schindl JFace-Committer --------------------------------------------------------------------