Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one data template which is in 1:2 resolution and I have many different content.. I want them to lay in different size for different screen size. And even the data template has to be in 1:2 ratio even if the size increases or decreases.
I have used

windows.current.bounds

Which will give me height and width of the screen accordingly manually I will set the values of my page..

But the problem is each time it is getting me different hieght and width values( I am debugging it using simulator)

Help me out with this.. any other suggestions will also do..
Thanks in advance

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 18-Oct-12 4:34am
v2
Comments
[no name] 18-Oct-12 10:17am    
Why are you screaming at people?
Sandeep Mewara 18-Oct-12 10:20am    
Why all in CAPS?
SUSHIL AURADKAR 18-Oct-12 10:23am    
sorry 4 the caps.. actually in a hurry typed the content.
Sergey Alexandrovich Kryukov 18-Oct-12 12:25pm    
Right spelling would be "Sorry for the CAPS". Your text speak ("4", etc.) will be perceived as irritating by most. Please, no need to apologize -- I just advise you that it's better for you if you use correct and complete spelling/punctuation/casing -- people will pay more attention for your posts.
--SA
OriginalGriff 18-Oct-12 10:34am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900