BrowserComponent Background

8 views
Skip to first unread message

Amine

unread,
Jan 13, 2021, 8:38:29 PM1/13/21
to CodenameOne Discussions
Hi,
How to set transparent background to my BrowserComponent?
I tried to Transparent UIID but it does not work!
My code :
BrowserComponent _brow = new BrowserComponent();
        _brow.setURL("http://xxxxxx/yyyyyy/?token="+pToken);
        _brow.setUIID("Container"); //Its transparent
        pGraphCnt.add(_brow);
Kind regards,

Shai Almog

unread,
Jan 13, 2021, 10:03:01 PM1/13/21
to CodenameOne Discussions
Hi,
you can't. BrowserComponent is by definition opaque.You can set the background within the HTML you place in the browser component.
Reply all
Reply to author
Forward
0 new messages