B4J Question [SOLVED] [B4XTable] HeaderFont loses Bold when text is non-English

aeric

Expert
Licensed User
Longtime User
B4X:
Column2 = B4XTable1.AddColumn("名字", B4XTable1.COLUMN_TYPE_TEXT)

I also tried setting B4XFont but no effect.

B4X:
B4XTable1.HeaderFont = xui.CreateFont(fx.LoadFont(File.DirAssets, "SimHei.ttf", 20), 20)

1662620383332.png
 

aeric

Expert
Licensed User
Longtime User
I do not use B4XTable much in B4J, but use it in B4A. In B4A you must define the font before you define the table columns. Reverse the order of your lines and see if it applies to B4J also.
Thanks. It works!
 
Upvote 0
Top