0

Hi Team I have three group in one composite like shown in first image. enter image description here

Now I want a view where first and second group are invisible and second group shift left side like shown in second image. Can Anyone please help me on this. enter image description here

  • What layouts are you using? For `GridLayout` you can combine `GridData.exclude` and `Control.setVisible`. See [this answer](https://stackoverflow.com/a/17513270/2670892) – greg-449 Nov 16 '22 at 09:56
  • @greg-449 I am using GridLayout only – Tiwari Richa Nov 16 '22 at 10:02
  • So that answer I linked covered it - you use GridData with GridLayout, you can't do advanced GridLayout things without using GridData on the individual components – greg-449 Nov 16 '22 at 10:04
  • Hi Greg - it is working when I am opening for new view.. Suppose view is open and we update it and again open new view in that case it is not working – Tiwari Richa Nov 21 '22 at 14:16
  • GridLayout/GridData with exclude works, I use it all the time. If you are having problems you will have to show us your code as a [mre] We can't possibly help with the minimal information you have given us. – greg-449 Nov 21 '22 at 16:14
  • Hi Greg- yes it is working.. Actually my question is wrong. I have a view that i want to bring on top but because of createPart Control method it is not working. I want to use postWindowOpen method but not sure how to use it – Tiwari Richa Nov 22 '22 at 02:38
  • If you mean the window advisor postWindowOpen that is for the main window and is nothing to do views. Ask a new question describing your problem - "not working" tells us nothing. – greg-449 Nov 22 '22 at 08:04

0 Answers0