Re: [Sugar-devel] Best Practices for setting font and widget size

2016-07-24 Thread Gonzalo Odiard
Best practice is not hardcode, but measure the text and set the font size as needed. You can use Pango to measure the text. Example code in Memorize activity: https://github.com/godiard/memorize-activity/blob/master/svgcard.py#L303 On Sun, Jul 24, 2016 at 9:15 AM, Yash Agarwal

[Sugar-devel] Best Practices for setting font and widget size

2016-07-24 Thread Yash Agarwal
Hello, In this pic