How do I resize the text in a ComboBox and ChoiceBox?
For all elements, I will change the font size in the designer:
But for the ComboBox, I cannot change the font.
I've tried changing the font of this when resizing the form in code, but this doesn't work:
For all elements, I will change the font size in the designer:
B4X:
If ActivitySize>20 Then
btn.TextSize=16
lbl.TextSize=16
Else
btn.TextSize=12
lbl.TextSize=12
EndIf
I've tried changing the font of this when resizing the form in code, but this doesn't work:
B4X:
lblactsize.Text=ActivitySize 'designer script
Sub frmfirst_Resize (Width As Double, Height As Double)
If lblactsize.Text>15 Then
ChB.Style="-fx-font-size: 16;"
Else
ChB.Style="-fx-font-size: 12;"
End If
End Sub