This content has been marked as final. Show 3 replies
Hey, maybe try to set the width of the alert box before you show it
Have you tried creating a custom class that extends the Alert class? You could override the protected methods such as commitProperties to set a larger width and height.
Thanks for the help!
I found this link in the LiveDocs, and it says there that it would be better to just use TitleWindow and PopupManager instead of trying to customize an Alert. Someone there also pointed out the same problem that I'm having:
In the section "Sizing the Alert control" if you set the width, the interior box holding the text does not resize - wider - but leaves quite a margin when increased.
@dietmar: The same page says that setting the size of the alert after the show() method is called should be enough to set the size of the alert.
TitleWindow and PopupManager may just be the solution to my problems. Thanks a lot! :)