An App Inventor extension that sets the font typeface, font weight and font style of visible components dynamically.
๐ฆ Package name: com.gordonlu.fonttypeface.aix
๐ Version: 1
๐ Release date: 2022-03-11 10:00 AM (Asia/Hong_Kong)
๐ซ Tested components
-
User Interface: Button, Checkbox, DatePicker, Label, ListPicker, PasswordTextBox, Switch, TextBox, TimePicker.
-
Media: ImagePicker.
-
Social: ContactPicker, EmailPicker, PhoneNumberPicker.
๐ Documentation
Method blocks
SetFontTypeface
Sets the font typeface of the TextBox, including whether to bold, italicize, and the font of the TextBox. Use the blocks in the properties of this extension for the font parameter. If useCurrentFont is true, the font parameter will be ignored.
Parameters: component - component, bold = boolean, italic = boolean, font = text, useCurrentFont = boolean
Property blocks
DefaultFont
A font block.
Returns: "DEFAULT"
Monospace
A font block.
Returns: "MONOSPACE"
SansSerif
A font block.
Returns: "SANS SERIF"
Serif
A font block.
Returns: "SERIF"
Best regards,
Gordon




