simed
22-10-2013 12:47:23
I have same code running on win32 and iOS. In win32, if I resize the window my GUI components sit at the same position or move properly depending if they are absolutely or relatively positioned.
On iOS when I rotate the device, this doesn't happen. It looks like MyGUI is still rendering to a 1024x768 window, which has been stretched to 768x1024 (landscape VS portrait mode on iPad 2).
I wonder how MyGUI knows about the render-window dimensions to resize things properly, so that I can try to reuse/call this logic on iOS. I'm not asking for advice on iOS - though if anyone knows, please share - just how MyGUI works.
Thanks.
On iOS when I rotate the device, this doesn't happen. It looks like MyGUI is still rendering to a 1024x768 window, which has been stretched to 768x1024 (landscape VS portrait mode on iPad 2).
I wonder how MyGUI knows about the render-window dimensions to resize things properly, so that I can try to reuse/call this logic on iOS. I'm not asking for advice on iOS - though if anyone knows, please share - just how MyGUI works.
Thanks.