Changing the Text Size in RapaGUI
Changing the Text Size in RapaGUI
Will it be possible in future versions of RapaGUI for the Texteditor and Textview classes to support different point sizes? I realize that this may not be possible on some platforms; but if it could be included for the Android version especially, that would be helpful (since the text can appear really small on a small screen).
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Changing the Text Size in RapaGUI
Yes, more control over fonts is definitely planned for future versions of RapaGUI.
Re: Changing the Text Size in RapaGUI
Awesome, thanks!
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Changing the Text Size in RapaGUI
Code: Select all
- New: Added Area.FontName [ISG], Area.FontSize [ISG], and Area.FontStyle [ISG]; these can be used to set
the font family, size, and style to be used by a widget; note that although these are area attributes,
they are not supported by all widgets; it depends on what the native widgets of the platform RapaGUI is
running on actually support; e.g. on AmigaOS, Area.FontName and Area.FontSize have an applicability of
just IG, meaning you can't change the font family and font size attributes after creation because MUI
doesn't support that; also note that font sizes are always in points and not in pixels so that they can
automatically adapt to higher DPI displays