Intermittent crash on set textFont
Posted: Mon Sep 21, 2015 4:26 pm
Hi,
I need to set the textFont to a custom font for a number fields according to the user's choice.
There is no problem when running in windows, but when I test it out in android, it crash intermittently.
After numerous days of trying, I still can't figure out where is the problem.
Sometimes after setting the default textSize to certain value, it becomes stable, but when I try the same thing in another stack it still crash.
I also tried to set the textFont and textSize (one after another) and it crash faster.
So I believe its a bug. Please verify.
I have also attached some test code.
Regards,
Francis
I need to set the textFont to a custom font for a number fields according to the user's choice.
There is no problem when running in windows, but when I test it out in android, it crash intermittently.
After numerous days of trying, I still can't figure out where is the problem.
Sometimes after setting the default textSize to certain value, it becomes stable, but when I try the same thing in another stack it still crash.
I also tried to set the textFont and textSize (one after another) and it crash faster.
So I believe its a bug. Please verify.
I have also attached some test code.
Regards,
Francis