Hello everybody!
I'd like to manage the text in the clv panel.
No problem to change the Textcolor.
2 problems:
Problem no. 1
I cannot manage Textsize and xui.CreateDefaultBoldFont.
This code doesn't work:
This is quite strange just because Textcolor does it...
The only solution seems
. With this command Textsize and xui.CreateDefaultBoldFont works.
Problem no. 2
If the only solution is the above, how I can reset the height of the single row to fit automatically with the text lenght?
In particular, sometimes when normal text will set bold may happens that a new line is needed.
How to solve it?
Thank you!
I'd like to manage the text in the clv panel.
No problem to change the Textcolor.
B4X:
clv1.GetPanel(0).GetView(0).TextColor = xui.Color_Red
2 problems:
Problem no. 1
I cannot manage Textsize and xui.CreateDefaultBoldFont.
This code doesn't work:
B4X:
clv1.GetPanel(0).GetView(0).Font = xui.CreateDefaultBoldFont(clv1.GetPanel(0).GetView(0).TextSize)
clv1.GetPanel(0).GetView(0).TextSize = 50
The only solution seems
B4X:
clv1.GetPanel(0).GetView(0).As(Node).Style = ""
Problem no. 2
If the only solution is the above, how I can reset the height of the single row to fit automatically with the text lenght?
In particular, sometimes when normal text will set bold may happens that a new line is needed.
How to solve it?
Thank you!