cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the TGFX modal window need to set a background to work?

zzzzz
Senior

I want to design a modal window to block the screen. Based on the different cases it will display different widgets. I want only to display the widgets without modal window background. But it looks like that the modal window class needs a background to draw its children. Any suggestion?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
MHaji.1
Associate III

Hi, modal window need background and you should add an image to be displayed, It is not designed to draw every widget, it is used for messaging...

Another way is add transparent image and then add your widget, but it wastes your resources.

View solution in original post

2 REPLIES 2
MHaji.1
Associate III

Hi, modal window need background and you should add an image to be displayed, It is not designed to draw every widget, it is used for messaging...

Another way is add transparent image and then add your widget, but it wastes your resources.

Using a transparent image as background may work in my case. Thanks.