Android Question Increase Font Size Forms Builder/Preference Dialog

Startup

Active Member
Licensed User
Longtime User
The text title is smaller than the drop down titles created with a Forms Builder/Preference Dialog. Can I change/increase the font size on the text title (Name in attached screenshot)?
 

Attachments

  • fonttest.png
    7.8 KB · Views: 191

Erel

B4X founder
Staff member
Licensed User
Longtime User
As I wrote, it will be larger when the field is empty. This is how B4XFloatTextField is designed.

You can change it with:
B4X:
Dim sf As Object = p.ShowDialog(CreateMap(), "OK", "CANCEL")
Sleep(0)
For i = 0 To p.CustomListView1.Size - 1
   Dim pnl As B4XView = p.CustomListView1.GetPanel(i)
   If pnl.GetView(0).Tag Is B4XFloatTextField Then
       Dim tf As B4XFloatTextField = p.CustomListView1.GetPanel(5).GetView(0).Tag
       tf.SmallLabelTextSize = 18
       tf.Update
   End If
Next
Wait For (sf) Complete (Result As Int)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…