How did you set the transparency of the interaction dialog? On Tuesday, December 15, 2020 at 6:06:09 PM UTC+2 P5music wrote:
> I am using InteractionDialog to create a little dialog for the user to > input a text value. > It works but I see that the InteractionDialog is transparent, and the > TextField is transparent too, foreground color is black for the TextField > but I need that its background is white. > I tried to set the background color and the setOpaque(true) but the > TextField is not affected at all, it is the same. > > editText.getStyle().setBgColor(65536 * 255 + 256 * 255 + 255); //couldn't > use Color.WHITE > // or editText.getStyle().setBgColor(ColorUtil.WHITE); doen't change the > bg color > editText.setOpaque(true); > > What's wrong? > Thanks, regards > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2618a259-f6ea-497c-8f09-e1375f980b6an%40googlegroups.com.
