You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that calling gslc_ElemSetVisible(&m_gui, _A_BUTTON_, false); on a button, only disables the button, but does not hide it when the display is refreshed.
I found this comment in XKeyPad.c but I'm not sure if this is specific to that component or it really refers to gslc_ElemSetVisible not yet working at all: // FIXME: Need to fix dynamic visibility change // gslc_ElemSetVisible(pGui, pElemRefTmp, bVisible);
Hi @LowPowerLab -- you're right! Thanks for reporting this and providing the helpful supporting details.
I have now checked in a fix to support hiding of elements via ElemSetVisible().
Please try the latest GitHub master and let me know if the functionality works correctly for you now.
It appears that calling
gslc_ElemSetVisible(&m_gui, _A_BUTTON_, false);
on a button, only disables the button, but does not hide it when the display is refreshed.I found this comment in
XKeyPad.c
but I'm not sure if this is specific to that component or it really refers togslc_ElemSetVisible
not yet working at all:// FIXME: Need to fix dynamic visibility change
// gslc_ElemSetVisible(pGui, pElemRefTmp, bVisible);
Platform:
MoteinoM0 (CortexM0+ SAMD21G18A 48Mhz)
ILI9341 2.4" + Touchscreen
#define GUISLICE_VER "0.12.1"
#include "../configs/ard-adagfx-ili9341-xpt2046.h"
Arduino 1.8.7
The text was updated successfully, but these errors were encountered: