ImpulseAdventure / GUIslice-Builder

Cross-platform drag & drop GUI builder for GUIslice
Other
163 stars 34 forks source link

Ramp Gauge not inspecified position on screen #186

Closed u1550l closed 2 years ago

u1550l commented 2 years ago

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

To Reproduce Steps to reproduce the behavior:

  1. 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 target the gauge is not in the correct position

Expected behavior gauge should be drawn at specified position

Crash log / Project files 123bms-V2b.zip

Screenshots _20220204_193930 Note: I put a black box behind the expected region on the screen. the gauge region is partially outside the screen (320x240pix)

Version

Maybe it is a GUIslice library issue, rather than a Builder issue?

Pconti31 commented 2 years ago

@u1550l Yes, this appears to me either an API or APP issue. I don't support the API so you will need to repost to GUIslice issues. However, first create a small test project using just the ramp gauge and hard coded sample data.

I notice you have a serial print before the ramp update so just copy that data into an array and feed it to your test ramp project, if necessary, to reproduce.

Zip test with the containing project folder.

Paul--