Page 1 of 1

frameWidth not defined in AxButton.text (0.9.4 r2)

PostPosted: Fri Oct 03, 2014 9:11 am
by Ats
Hi Arkeus,
I've switched to 0.9.4 and now whenever I try to add an AxButton I get that error:
AxButton.as(80): col: 60 Error: Access of undefined property frameWidth.


frameWidth is not defined in the public function text(str:String, font:AxFont = null, verticalOffset:uint = 10, horizontalOffset:uint = 0):AxButton

What should I do?

Re: frameWidth not defined in AxButton.text (0.9.4 r2)

PostPosted: Fri Oct 03, 2014 9:14 am
by Arkeus
Can you try grabbing r3 from the beta repository and let me know if that works. If not I'll take a look at it tonight after work.

https://github.com/arkeus/axel-dev

I moved all active development to that, so that I can stop breaking the beta branch when I push to it (but I might end up breaking this). Unfortunately I haven't gotten to a point where I'm satisfied with the state of this to push it over to beta.

Maybe AxButton should be the next thing I write tests for, since I am notorious for breaking it since none of my projects ever use it.

Re: frameWidth not defined in AxButton.text (0.9.4 r2)

PostPosted: Fri Oct 03, 2014 12:07 pm
by Ats
Sorry, forget what I posted one hour ago. I unzipped axel library in the wrong project...
Buttons are working now in 0.9.4 r3.
Thanks ;)