1
OpenZaurus/Opie/Qtopia / Development For Sl-c1000
« on: January 15, 2007, 06:24:29 am »Quote
[
it should be exactly the same. you should not be hardcoding the height and width normally. usually a getWidth() and getHeight() should give you the correct screen size and you write your code in such a way that it doesn't matter what size the screen is and the widgets are rendered dynamically according to the actual size of the screen at run time.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=151218\"][{POST_SNAPBACK}][/a][/div]
It seems not to be so easy. I've never hardcoded the screen size in my application, nevertheless the screen is rotated by 90° when I invoke the program on the SL-C1000. It is not adjusted dynamically to the newer screen parameters instead it is shown in landscape mode. I think the new parameters must be explicitly set by hand, is this right? But where? What is the class where to set this values?
Bernd