Game Development Community

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?

#1
02/19/2009 (7:34 am)
Have the same problem. Did you manage to find a solution for this?