Relative sizing and dynamically created GUI elements
by Colossai Studios · in RTS Starter Kit · 10/24/2005 (2:42 am) · 1 replies
Hello,
I have a problem with a copuple of GUI elements that I create "dynamically" (not created at startup). They seem to not get a relative sizing, instead they get the original 1024*768 size and position. All the none-dynamic elements are sized and positioned correctly. The values are originally set in the 1024*768 aspect. The elements is a group of elements that form the representation of a player in the Lobby. The weird thing is that it only happens when I host a game, not when joining, even though the code is executed in the "same place". Any ideas?
I have a problem with a copuple of GUI elements that I create "dynamically" (not created at startup). They seem to not get a relative sizing, instead they get the original 1024*768 size and position. All the none-dynamic elements are sized and positioned correctly. The values are originally set in the 1024*768 aspect. The elements is a group of elements that form the representation of a player in the Lobby. The weird thing is that it only happens when I host a game, not when joining, even though the code is executed in the "same place". Any ideas?
About the author
Torque Owner Jendrik Posche