GUIslice icon indicating copy to clipboard operation
GUIslice copied to clipboard

How to remove a corner around a picture in the "Image Button" control?

Open tankist-git-2 opened this issue 3 years ago • 4 comments

I wanna use picture as a button (typical scenario - change the page by clicking a picture). This functional is completely done by using "Image Button" control, but, unfortunatelly, there are a corner around my picture in this mode (see the attached picture). I can't remove that by GUIslice builder settings. If I try to use "Image" component instead there is no built-in functional as in the "Image Button" control.

guislice_img_button

So I wonder if it possible to remove that corner now? If not, could you add a setting to remove it in the future?

tankist-git-2 avatar Aug 31 '22 05:08 tankist-git-2

@tankist-git-2 If you post a zip file of a small sample program that just displays your icon with the problem corner I will see if I can debug the issue. Paul--

Pconti31 avatar Aug 31 '22 13:08 Pconti31

Here is a project 3.zip

The target platform is tft_espi with ESP32 MCU

tankist-git-2 avatar Aug 31 '22 13:08 tankist-git-2

@tankist-git-2 Turns out to be an easy fix. Simply set "Transparent?=true" inside the Builder on each of your images. Paul--

Pconti31 avatar Aug 31 '22 18:08 Pconti31

This works. Thank you for the quick response!

tankist-git-2 avatar Sep 01 '22 05:09 tankist-git-2