Page 1 of 1
change the dialog's size
Posted: 27 Jul 2021, 13:36
by lwang87
Hello,
I want to know how to change the size of the dialog's box(or dialog display). The words of dialog and the size of that text box I set are too small. Please tell me, thanks!
Re: change the dialog's size
Posted: 27 Jul 2021, 19:46
by coppelia
Hello,
for instance:
Code: Select all
<label id="1" text="Hello world!" style="* {font-size: 20px; font-weight: bold; margin-left: 20px; margin-right: 20px;}"/
There are many more formattings you could apply.
Cheers
Re: change the dialog's size
Posted: 28 Jul 2021, 16:27
by lwang87
Thanks for your reply. But I've use
sim.displayDialog
to show the information, The code is following:
Code: Select all
dialog_H=sim.displayDialog('Attention','Delay Level:no delay',sim.dlgstyle_ok,true)
, and not only the text it showed but the text window, is too small. Is there any way to make this window and the text bigger?