Dimensions that are set in .res files are relative to a 640 by 480
screen, so they will scale to every resolution.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabe Volker
Sent: Wednesday, December 08, 2004 5:34 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Menu Sizing problems

I followed this tutorial to add the team menu to my mod.

http://hl2sdk.wolferix.de/index.php/VGUI

I have created all the necessary files and they are being read by the
mod.

However, if I edit the VGUI menu (TeamMenu.res) with the VGUI Built-In
Editor, the values that it saves (while they should be correct) are not
the values loaded the next time that I run the mod.

For example, my "team" panel has values for wide and tall of 640 and
480, respectively.
However, when I load the mod the menu takes up the entire screen and
after activating the VGUI Built-In Editor, it shows that the wide and
tall values are 1024x768, respectively.
All the elements get resized. If I set wide to 320 or so, the menu
occupies about half the screen
-- as it should when being set to 640.

Can anyone shed any light on this? or have they followed this tutorial
successfully without this problem?

Greets
-Gabe


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to