PDA

View Full Version : Config or property to ensure panel is always visible



webfriend13
13 Jun 2012, 1:19 AM
HI All,

I have two panels. Each panel is containing a grid. In the normal resolution, I can ses both the grids. But when the resolution is low for the monitor, I could see only the first grid. It there any config setting which will ensure user always see's the second grid as well. I am not sure why the container is not adjusting the childs width..

friend
13 Jun 2012, 3:20 AM
This sounds like a fairly simple layout issue. In general, I'd suggest that the parent container of the two panels should use an hbox layout, where each child panel would use flex: 1 and a layout of fit. This should give the effect you're after.

If you continue to have trouble with the layout, post a concise code sample.