is it possible to get parent/container size so that children's size can be adjusted accordingly?
Thanks
is it possible to get parent/container size so that children's size can be adjusted accordingly?
Thanks
You should use the GXT layoutsystem for this. The layoutsystem works from top to bottom and so the parent always sizes the children.
What do you want to do exactly?
I have a viewport and using border layout. In the center panel, I have to show tabs and the some content in each of the tab.
The problem that I am facing is... I want content in each of the tab to occupy all of the space (just like in the case of viewport ) but somehow I am not able to get it working. So I thought if I know the parent's size I will set the sizes accordingly
So you have a container in the center region and add a TabPanel into this center container? Try to give the container in the center region a fitlayout.