HanSolo / medusa

A JavaFX library for Gauges
Apache License 2.0
692 stars 131 forks source link

--E-- displayed if unit is three letters long #151

Open WolfgangFahl opened 6 years ago

WolfgangFahl commented 6 years ago

medusaissue2018-08-10 When updating the value every 1 second - each second time the --E-- is displayed. By experimenting I found out that this only happens if the unit is three letters long. If i shorten it to two letters "Wh" the issue goes away

protogenes commented 6 years ago

-E- is displayed when there is not enough space to display the value (see LcdSkin#isNoOfDigitsInvalid) but the check seems broken to me, because sometimes I see -E- after the number was shown with a smaller width.