30 Nov 2011 2:57 AM #1
Unanswered: Extjs4 alignment issues
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 ?Thanks,
RENGANATHAN M G
30 Nov 2011 9:05 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.