GUI resources / tutorials? My GUI doesn't scale right. :(
by Joe O · in iTorque 2D · 04/22/2011 (6:53 pm) · 3 replies
I must be doing something wrong. When I load my gui via setContent or pushDialog my button consumes the entire screen. Can anyone point me in the right direction?
Torque Owner Joe O
Average Joe Software
I was doing Canvas.pushDialog( startGame );
Turns out startGame was the name of my button. Ooops. One thing that I've figured out after a bit of using the gui builder is you have to be explicit about what you click on before you start typing things in the attribute editor!
I did not realize this early on and must have never gone back to fix that bit - hehe ;)