How to Resize a Dialog Box using GUI Builder

37 views
Skip to first unread message

ba.kri...@gmail.com

unread,
Aug 4, 2015, 2:10:59 AM8/4/15
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: Eclipse
Desktop OS:Windows7
Simulator
Device
How can I resize a dialog message. I have add a DialogContentPane in theme and add properties for it.But it not reflecting when I am run the application in simulator as well as hardware.The Dialog showing in white color with a default size and the buttons are not an expected Size.
The Dialog Box lokks like a Label containing Button.
can I possible to change the back ground color of the Dialog box when using Dialog.show("",<text>,"OK",null);
Is any other notification or alert existing in Codename One .?

Shai Almog

unread,
Aug 4, 2015, 12:14:43 PM8/4/15
to CodenameOne Discussions
Hi,
the DialogContentPane UIID should include some styling.
The buttons in Dialog.show might get a custom UIID based on the theme constant dlgButtonCommandUIID.

Some screenshots would help illustrate the issue.
Reply all
Reply to author
Forward
0 new messages