View Full Version : dataview panel into viewport dynamical resizing problem

17 Jul 2012, 8:05 AM
i tried to put a dataview with images inside a viewport
using a border layout but what happens is that the viewport keeps
resizing the dimension of the central panel changing the way images are rendered
so at a resolution i have 3 images at others i have 4 or 5. I tried
to block the size of the central panel but when the resolution is lower
the image gets overlapped with the lateral panel, i saw that sites like amazon provide
scrolling bars for the main window, is this some limitation of the viewport or maybe
am i trying to do something wrong?


17 Jul 2012, 2:27 PM
Do you have a small working example of what you are trying to do? The issue that the rows/cols are adjusting and the images are not arranged correctly?


23 Jul 2012, 2:29 AM
Ok, i understood
that the viewport cannot be used to make a layout like the one of amazon
because it will fit into the page naturally without permitting a vertical scrolling
so the only chance is to resort to a simple panel which brings a lot of overhead hassle
like manual resizing implementation.