Hi I want to know the width of the text inside the CCTextFieldTTF but I can't find a way to do it, I want this width so I can move a CCLabelTTF in that position so it can be like a cursor for the CCTextFieldTTF
Thanks
|
Hi I want to know the width of the text inside the CCTextFieldTTF but I can't find a way to do it, I want this width so I can move a CCLabelTTF in that position so it can be like a cursor for the CCTextFieldTTF Thanks |
|||
|
|
|
So I came up with an idea that really works In CCTextFieldTTF.h declare a new method
And in your .cpp
And know just call your CCTextFieldTTF object
And do whatever you like with it |
|||
|
|