m5stack / M5StickC

M5StickC Arduino Library
MIT License
476 stars 221 forks source link

Display Text Wrap not works #129

Open pptsk opened 3 years ago

pptsk commented 3 years ago

Hi, I want to disable text wrap function but M5.display.setTextWrap( false ) does not works and large text is wrapped over display. What I am doing wrong? Thank You Here is example

#include <M5StickC.h>

void setup() {
  M5.begin();
  M5.Lcd.setRotation(3);
  M5.Lcd.setTextWrap(false);
  M5.Lcd.fillScreen(BLACK);
  M5.Lcd.setCursor(0, 0);
  M5.Lcd.setTextColor(WHITE);
  M5.Lcd.setTextSize( 2 );
  M5.Lcd.print("Display test, text wrap not works...");
}

void loop(){
}