User Interface resolution and resizing
by Dumbledore · in Torque Game Engine · 06/21/2008 (8:37 am) · 3 replies
Does anyone know about a tut that runs you through how to create a dynamic U.I. so that different resolutions will not blow it up to a thousand unwieldy proportions?
Thanks so much if you can help with this!
Thanks so much if you can help with this!
Torque Owner Dumbledore
Super width, height
-----Container relative, height (the width is 500 on a 1280 x 1024)
------------Child relative, relative
What happens is: if i switch res from 1280x1024 to 800x600 it resizes as I expect, very nicely.
From 800x600 back to 1280x1024 is not so nice. Everything becomes grossly large. My prognosis: it is using the ratio of extents of the Container and Super in 800 x 600 mode to do the relative resizing of the Child in 1280 x 1024 mode. I think I could fix this by forcing it to first go back to the original form (not that I'd know how to do that off hand) then do the appropriate resize. So every time you change your resolution it first goes back to the original 1280x1024 so that everything is sized correctly, then it applies the relative size ratios for the desired resolution and voila.
What am I missing here?