Hi
May be a silly question....
If I add a label in the designer with MONOSPACE font and change the style to BOLD, it displays without a problem. However, if I change the label properties of a ListView in the code to the same, then it does not display in bold.
e.g.
If I change the font to SAN_SERIF it works. Is it just a quirk with MONOSPACE on ListView labels or possibly because I'm using an old version of B4A (2.52)?
Just thought I'd ask - I could create a custom ListView but is overkill for what I need.
May be a silly question....
If I add a label in the designer with MONOSPACE font and change the style to BOLD, it displays without a problem. However, if I change the label properties of a ListView in the code to the same, then it does not display in bold.
e.g.
B4X:
Dim lblPlace As Label
lblPlace = lvPlaces.SingleLineLayout.Label
lblPlace.Color = signColour
lblPlace.TextSize = 22
lblPlace.Typeface = Typeface.CreateNew(Typeface.MONOSPACE, Typeface.STYLE_BOLD)
lblPlace.TextColor = Colors.White
If I change the font to SAN_SERIF it works. Is it just a quirk with MONOSPACE on ListView labels or possibly because I'm using an old version of B4A (2.52)?
Just thought I'd ask - I could create a custom ListView but is overkill for what I need.