Lazarus

Programming => Widgetset => CustomDrawn => Topic started by: fastblade on February 13, 2012, 09:03:43 am

Title: How can I change the font size and color draw to the canvas of lclAndroid?
Post by: fastblade on February 13, 2012, 09:03:43 am
Hi, felipe,
I want to draw some text on the canvas of the paintbox, but I found I can not change the font size and color via change the font.size and font.color, the draw out text is always same size and same color. How can I change it?


Title: Re: How can I change the font size and color draw to the canvas of lclAndroid?
Post by: felipemdc on February 13, 2012, 10:27:17 am
Which revision are you using? Try to use svn update to update to a newer revision.
Title: Re: How can I change the font size and color draw to the canvas of lclAndroid?
Post by: fastblade on February 14, 2012, 03:59:18 am
I update to the latest version 35361. Now I can change the font's color, but can not change the size of the font, Am I still missing something?

I can change the font's size on the Form in lazarus IDE, but after build, all effect disappear in the simulator.
Title: Re: How can I change the font size and color draw to the canvas of lclAndroid?
Post by: felipemdc on February 14, 2012, 07:46:29 am
Please open a bug report.
Title: Re: How can I change the font size and color draw to the canvas of lclAndroid?
Post by: fastblade on February 14, 2012, 08:41:58 am
bug report 0021279 opened.

thanks for your attention.