I think I've found another TextBox bug.
When I attach a SizeChanged() routine to a textbox, it's not getting called.
Code:
self.testText = Turbine.UI.TextBox();
self.testText:SetParent(self);
self.testText:SetPosition (100,0);
self.testText:SetSize (500,15);
self.testText.SizeChanged = function (sender,args) Turbine.Shell.WriteLine ("Got the size change routine!"); end;
:
:
:
self.testText:SetWidth (200);
The SizeChanged() callback routine isn't being called.
Am I doing something stupid - always a fair possibility!! - or is this indeed a lua bug that I"ll have to work around. I've been banging at this for a while and can't seem to see another answer....