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.2k stars 211 forks source link

Using BOX Element with rounded corners enclosing other UI Elements make App unusable #463

Open Pconti31 opened 2 years ago

Pconti31 commented 2 years ago

I'm currently working on GUIslice API theme support within the Builder. Doing so I tried to use rounded corners for boxes with some themes. Here is an example using our ex04 with a Material Dark theme

material_broken

When I run this application the display flickers wildly. Making the app unusable.

Simply changing to square corners for the enclosing gray box like so

material_theme

Allows the app to run perfectly. Of course, the work-around is to simply always to use square corners. I should also point out that with some color themes like my Solarized some control also disappear so its more than flicker that is at issue here.

Attached is a zip of my broken sample and it includes a file called ex04_bld_ctrls.ino.works.txt which removes the rounded corner command allowing the app to run correctly. ex04_bld_ctrls.zip

Paul--

Device hardware