We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd05982 + b94ac0b commit 87c98b5Copy full SHA for 87c98b5
1 file changed
EYESPI/Arduino/Color/EYESPI_Test/EYESPI_Test.ino
@@ -596,6 +596,7 @@ void show_canvas() {
596
// and descenders on digits, and in some locales a comma (extending below
597
// the baseline) is the decimal separator. Feed ALL the numeric chars into
598
// getTextBounds() for a cumulative height:
599
+ display.setTextWrap(false); // Keep on one line
600
display.getTextBounds(F("0123456789.,-"), 0, 0, &x, &y, &w, &h);
601
602
// Now declare a GFXcanvas16 object based on the computed width & height:
0 commit comments