PDA

View Full Version : Extjs4 alignment issues



renganathan
30 Nov 2011, 2:57 AM
Hi ,

I am facing alignment issues in different resolution . Its working fine for my resolution (1280*800).

But when i change my resolution , the alignment is not proper.

I have given height & width for elements in pixels format.

Guys please suggest , how to do coding so that it will work in every resolution ?

mitchellsimoens
30 Nov 2011, 9:05 AM
It depends what layouts you are using and if you are using fixed widths.

Using flex in hbox/vbox will dynamically size based on the size given for the parent container. Using anchor in anchor layout can achieve the same thing as you can pass a percentage.