PDA

View Full Version : UI Layout problem in ExtJs 4



arjunsharma
2 Dec 2011, 1:34 AM
We are having layout problem in all UI's made in ExtJs 4. I mean on fixing the UI for one particular resolution and then testing the same UI Layout on different resolution for same or another desktop. The UI doesnot comes properly and certain components break. While the below portion of the panel is hidden or else on different resolution it shows below space.
Can anyone help??What will be the best solution to fix this UI Layout problem.

mitchellsimoens
2 Dec 2011, 11:22 AM
Please post in the appropriate forum. I have moved to the Ext JS 4 Q&A forum for you.

skirtle
3 Dec 2011, 5:45 PM
There are usually a number of different ways to achieve apparently identical layouts. In my opinion, the 'secret' to picking an appropriate layout is to consider how you want it to resize. That's certainly the technique I use for picking a layout.

By the sounds of it you're relying too heavily on fixed sizes in pixels rather than using flexing. Take a look at the docs for hbox and vbox.