Screen Resolution and gui
by Howard Dortch · in Torque Game Engine · 03/17/2006 (10:09 am) · 3 replies
I am having some issues with screens that are not 1.333 aspect and placement of gui elements. One of our test machines has 1900 x 1200 and some of the gui elements move off screen.
Set an element on the upper right side and set Horiz sizing to left and vert sizing to bottom. Works in most modes but some of the upper display resolutions things get a bit wrong.
Is this an issue or limitation of the engine?
Set an element on the upper right side and set Horiz sizing to left and vert sizing to bottom. Works in most modes but some of the upper display resolutions things get a bit wrong.
Is this an issue or limitation of the engine?
#2
new GameTSCtrl(PlayGui) {
Profile = "GuiContentProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
Extent = "1024 768";
MinExtent = "8 8";
Visible = "1";
applyFilterToChildren = "1"; <<<<<<<<<<<<
cameraZRot = "0";
forceFOV = "0";
helpTag = "0";
noCursor = "1";
All other gui elements{};
};
03/17/2006 (12:24 pm)
I think I did that but higher reso.new GameTSCtrl(PlayGui) {
Profile = "GuiContentProfile";
HorizSizing = "right";
VertSizing = "bottom";
position = "0 0";
Extent = "1024 768";
MinExtent = "8 8";
Visible = "1";
applyFilterToChildren = "1"; <<<<<<<<<<<<
cameraZRot = "0";
forceFOV = "0";
helpTag = "0";
noCursor = "1";
All other gui elements{};
};
#3
03/19/2006 (11:50 am)
Have you tried setting horizSizing and vertSizing to "relative"?
Associate Ian Omroth Hardingham
Mode 7 Games
I routinely test our gui on 1900x1200 and 800x600 among others, and I haven't found any problems. Try creating a GuiControl that's 800x600 that covers the entire screen (and is set to relative for horz and vertsizing) and setting everything as it's child.
Ian