Hi Guys,
I am in fix..I am not able to get my composite repaint itself with increased heighthint of its GridData on a specific condition.
Actually while create the View , the composite is created by setting
Composite lComposite = new Composite(parent,SWT.NONE);
lComposite.setLayout(new GridLayout());
lComposite.setLayoutData(new GridData(400,50));

Now on some specific condition i want the height of the composite to increase from existing 50 to 100 so i am doing

if(..some condition..)
GridData lGridData = (GridData)lComposite.getLayoutData();
// height is increased here...
lGridData.heighthint = 100;
//also tried to repaint the shell..


Pls. suggest if anybody have some solution..