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

XTextBox starting row #41

ImpulseAdventure opened this Issue Mar 25, 2018 · 3 comments


None yet
1 participant

ImpulseAdventure commented Mar 25, 2018

Issue filed by neoengineer on ImpulseAdventure website:

GUIslice is a great library - Thank you! I ma having a issue with the behavior of the text box created with gslc_ElemXTextboxCreate. The text always seesm to start in the middle of the box, even after a call to text box reset. I am using an adafruit feather M0 and an adafruit 480x320 display. Eveything else appears to work. You can see this behavior using gslc_ex10_ard. I experimented by reducing the TBOX_ROWS value to force "a no scroll" and the text then starts at the top of the text box, but then wraps in the middle of the display. any help would be greatly appreciated.


This comment has been minimized.


ImpulseAdventure commented Apr 4, 2018

I have reproduced this behavior in my testing and have been reworking XTextbox to make it more intuitive now (code simplified too). Once I have completed the scrollbar integration I will post an update. Thanks again for pointing this out.


This comment has been minimized.


ImpulseAdventure commented May 1, 2018

Textbox control and scrollbar updates have been completed and out for beta test.

ImpulseAdventure added a commit that referenced this issue May 5, 2018

Revise XTextbox behavior to address #41
- Textbox now starts adding text from the top, giving a more intuitive
  operation. Note that the content does not autoscroll once text is
  added below the visible region. Using the scrollbar, the user can
  monitor the latest added rows.

This comment has been minimized.


ImpulseAdventure commented May 5, 2018

Fixes have been made to the textbox to make the operation more intuitive. New content is added from the top and will eventually continue below the visible window portion of the buffer. Scrolling to the bottom of the buffer enables the user to monitor the latest rows that have been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment