M5StickC icon indicating copy to clipboard operation
M5StickC copied to clipboard

Display Text Wrap not works

Open pptsk opened this issue 5 years ago • 0 comments

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(){
}

pptsk avatar Dec 24 '20 07:12 pptsk