Nordin 0 Posted November 6, 2010 Is it possible to keep a dialog the same size on all interface size settings. Found this but I cant figure out how to use it. http://community.bistudio.com/wiki/SafeZone Share this post Link to post Share on other sites
CarlGustaffa 4 Posted November 6, 2010 Try using in your dialog definition: x = safeZoneX; y = safeZoneY; w = safeZoneW; h = safeZoneH; I'm expecting you to already have a working dialog using numbers for these. Share this post Link to post Share on other sites
nuxil 2 Posted November 6, 2010 (edited) class foo : { x = SafeZoneX; // x pos is on top left of screeen y = SafeZoneY; // y pos is on top left of screeen w = SafeZoneW; //returns the hole witdh of the screen. h = SafeZoneH; //returns the hole hight of the screen. }; so if you want it to be like 25% size all time and in center, i think you could do something like x = 0.5; y = 0.5; w = (25 * SafeZoneW) / 100; h = (25 * SafeZoneH) / 100; edit: above code will set it 25% of the screen. tho it will increase/decrease size according to which aspect ratio you are using Edited November 6, 2010 by nuxil Share this post Link to post Share on other sites