When calling a dialog with showWarningDialog (and probably the others too) and formatting the text with in the beginning the format is broken after ‘\n’…
In other words: formatting commands like but also are shown as normal text…
When calling a dialog with showWarningDialog (and probably the others too) and formatting the text with in the beginning the format is broken after ‘\n’…
In other words: formatting commands like but also are shown as normal text…
Use
in place of \n for the line break when formatting with html.
Or enter again after using \n.
But you’re right, it probably is a very minor bug.
The plug-ins are using the OS-level dialogs (so the icons are native in each platform) - I’m not sure that HTML formatting is available.
When in doubt - just use your own form. That’s what I do for all except the most simple dialogs (i.e. delete record confirmation, etc.).
Cheers,
Bob Cusick
Thanks guys, I will use
from now…
BTW 1. also ater \n is broken…
BTW 2. I do as you say Bob, but indeed when messages are very simple I like to avoid cluttering my solutions with \yet another form’… And, I like to have a ‘platform independent’ icon!
html works fine in dialogs
plugins.dialogs.showInfoDialog( ‘TEST’, ‘’+
‘
line1 line2 |
line3 |