peacemaker Expert Licensed User Longtime User Nov 11, 2019 #1 Hi, All Where to change fontsize of whole the view dynamically ? B4X: BBCodeView1.mBase.TextSize = float This code gives the error: java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout) If to change the TextSize in the VisualDesigner - it's OK, but how runtime ? Last edited: Nov 12, 2019
Hi, All Where to change fontsize of whole the view dynamically ? B4X: BBCodeView1.mBase.TextSize = float This code gives the error: java.lang.RuntimeException: Type does not match (class anywheresoftware.b4a.BALayout) If to change the TextSize in the VisualDesigner - it's OK, but how runtime ?
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2019 #2 Use the TextSize tag: B4X: $"[TextSize=20]all other text ... ... [/TextSize]"$ Or change the default font and bold font of BBCodeView.ParsedData. Upvote 0
Use the TextSize tag: B4X: $"[TextSize=20]all other text ... ... [/TextSize]"$ Or change the default font and bold font of BBCodeView.ParsedData.