ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.17k stars 209 forks source link

Bug: XRamp Gauge is not displayed in specified position on screen #440

Closed u1550l closed 1 year ago

u1550l commented 2 years ago

Describe the bug

The Ramp Gauge is displayed in a wrong region on the screen

  1. in GUIslice Builder: place a ramp gauge on the page
  2. resize ramp gauge
  3. generate
  4. generated gslc_ElemXRampCreate() call seems correct,
  5. when running on arduino/teensy target the gauge is not in the correct position
  6. see attached photo

Device hardware

Please confirm whether:

Expected behavior

A description of what you expected to happen gauge should be drawn at specified position.

Initialization messages

*Please copy any startup messages / errors reported to the serial monitor window here. GUIslice version [0.17.0]:

Additional info

To identify the expected region I put a "box" element behind the ramp window, shown black on the screen. _20220205_203831

Sample Project: xramptest.zip

u1550l commented 1 year ago

I tried to reproduce the bug now. Don't ask me why, but it is working correctly now.