SWT components relayout after visibility set to false
问题 Lets say if I have a GridLayout composite with column = 1. (Something like a vertical flow layout) I have added Label 1, Label 2, Label 3 to this composite, and they will appear accordingly. ---------- Label 1 | Label 2 | Label 3 | ---------- So is it possible that if I set the visibility of Label 2 to be false , can Label 3 move up to replace Label 2? And if Label 2 visibility is set back to true , Label 3 will move down? 回答1: A very simple solution could use GridData::exclude property. For