How to display 'Text' in the LCD control
Issue #35
resolved
I tried calling setTextMode(true) and then setText(), but it doesn't seem to be working.
I'm likely missing something, would appreciate some guidance. thanx.
Comments (3)
-
repo owner -
repo owner - changed status to resolved
Fixed with latest commit
-
reporter Looks good, thanx.
- Log in to comment
The problem is that the LcdFont.LCD only contains numbers which is not appropriate for the Textmode. Therefor you have to set the valueFont to something different e.g. LcdFont.DIGITAL or LcdFont.Elektra etc. I modified the code in LcdSkin so that if textMode == true -> setValueFont(LcdFont.Digital). But you can also override this by either using the LcdBuilder.valueFont(LcdFont.Elektra).