-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text box background not restored when switching pages #202
Comments
Hi - Thanks for taking the time to create a testcase. I am out of town at the moment so can’t run your test case, but perhaps you could try the following modification to your if (pBox->nRedrawRow == XTEXTBOX_REDRAW_ALL) { To: if ((pBox->nRedrawRow == XTEXTBOX_REDRAW_ALL) || (eRedraw == GSLC_REDRAW_FULL)) { |
Calvin and Ted: Paul-- |
Excellent. That fixed it. Ted |
Fix has been merged. |
Describe the bug
When switching pages to a page with a text box, the text box background fill is not restored
Device hardware
MCU: ESP32
Display with link: Adafruit 3.5" 480x320 TFT FeatherWing
https://learn.adafruit.com/adafruit-3-5-tft-featherwing/overview
GUIslice config selected: `esp-tftesps-default-stmpe610.h'
Test Case:
textBoxTest1.zip
Load test case on hardware, display should come up with yellow text on a blue background and a LOG button. Pressing the LOG button takes you to a page with a text box. The text box should have a black background with yellow text. Pressing the TEXT button adds more text.
Pressing EXIT takes you back to the main screen. Pressing LOG again takes you to the log screen, but this time the text box has a blue background fill, with yellow/black text. Pressing TEXT adds a line of text, and restores the proper black background fill.
Additional info
Arduino 1.8.12
GuiSlice 0.13.0.19
The text was updated successfully, but these errors were encountered: