سؤال

I use a TreeViewer. I do not understand why the first column of my table has an empty space on the left. This does not depend on the column, because if I change the first column, the gap is still there. The second column is well left-aligned.

SC01 : http://i.stack.imgur.com/veooL.png

SC02 : http://i.stack.imgur.com/gEDs2.png

هل كانت مفيدة؟

المحلول

This is space left for the tree expand / collapse twistie image. The space is always reserved even if you have no children for the tree nodes.

If you don't have any children then use TableViewer.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top