S sdleidel Active Member Licensed User Longtime User Apr 9, 2019 #1 Hi, How i can get the Font (Arial...) and the Fontsize from a Cell ? Thx Sascha
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2019 #2 The font is set by the designer. It is the default font and the size is 15 by default. Upvote 0
S sdleidel Active Member Licensed User Longtime User Apr 10, 2019 #3 Hi, i know that the font size is set by the designer, but when i change the font and the size i would read it in my program... i would like this…. Is this possible ? Code: Copy Dim TVFontName As String = fx.DefaultFont(CSSUtils. GetStyleProperty(TableView1,"-fx-font-family")) Upvote 0
Hi, i know that the font size is set by the designer, but when i change the font and the size i would read it in my program... i would like this…. Is this possible ? Code: Copy Dim TVFontName As String = fx.DefaultFont(CSSUtils. GetStyleProperty(TableView1,"-fx-font-family"))
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2019 #4 No font is set when the default font is used. You can get the font size with: Code: Copy Dim x As B4XView = TableView1 Log(x.TextSize) Upvote 0
No font is set when the default font is used. You can get the font size with: Code: Copy Dim x As B4XView = TableView1 Log(x.TextSize)