[Sugar-devel] Setting default font size in Write activity

Emiliano Pastorino epastorino at plan.ceibal.edu.uy
Wed Sep 23 09:27:27 EDT 2009


Hi, everyone

I've been asked to set a larger font size by default in Write activity for
children who are visually impaired.
I tried to edit "toolbar.py" like this:

...
...
for i, s in enumerate(self._font_sizes):
    self._font_size_combo_append_item(i, s, None)
    if s == '12':
        self._font_size_combo.set_active(i)
...
...

I turned that '12' into a '48', but default size is still fixed at '12'.

Any tips?

Thanks,
Emiliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090923/faff78f2/attachment.htm 


More information about the Sugar-devel mailing list