aeric Expert Licensed User Longtime User Sep 8, 2022 #1 B4X: Copy Column2 = B4XTable1.AddColumn("名字", B4XTable1.COLUMN_TYPE_TEXT) I also tried setting B4XFont but no effect. B4X: Copy B4XTable1.HeaderFont = xui.CreateFont(fx.LoadFont(File.DirAssets, "SimHei.ttf", 20), 20)
B4X: Copy Column2 = B4XTable1.AddColumn("名字", B4XTable1.COLUMN_TYPE_TEXT) I also tried setting B4XFont but no effect. B4X: Copy B4XTable1.HeaderFont = xui.CreateFont(fx.LoadFont(File.DirAssets, "SimHei.ttf", 20), 20)
Solution M M Mahares Sep 8, 2022 aeric said: I also tried setting B4XFont but no effec Click to expand... 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.
aeric said: I also tried setting B4XFont but no effec Click to expand... 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.
M Mahares Expert Licensed User Longtime User Sep 8, 2022 #2 aeric said: I also tried setting B4XFont but no effec Click to expand... 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. Upvote 1 Solution
aeric said: I also tried setting B4XFont but no effec Click to expand... 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.
aeric Expert Licensed User Longtime User Sep 8, 2022 #3 Mahares said: 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. Click to expand... Thanks. It works! Upvote 0
Mahares said: 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. Click to expand... Thanks. It works!