Changing the Text Size in RapaGUI

Discuss GUI programming with the RapaGUI plugin here
Post Reply
PEB
Posts: 525
Joined: Sun Feb 21, 2010 1:28 am

Changing the Text Size in RapaGUI

Post by PEB »

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).

User avatar
airsoftsoftwair
Posts: 4254
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Changing the Text Size in RapaGUI

Post by airsoftsoftwair »

Yes, more control over fonts is definitely planned for future versions of RapaGUI.

PEB
Posts: 525
Joined: Sun Feb 21, 2010 1:28 am

Re: Changing the Text Size in RapaGUI

Post by PEB »

Awesome, thanks!

User avatar
airsoftsoftwair
Posts: 4254
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Changing the Text Size in RapaGUI

Post by airsoftsoftwair »

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

Post Reply