Canvas MessageBox: make sizeable / newline support
## ❗ This issue was automatically migrated from SourceForge >It was originally authored by SourceForge user benih. The creation date of this GitLab issue reflects the creation date on SourceForge, and the number assigned to this GitLab issue (i.e #1234) matches the number assigned to the original SourceForge ticket. For historical discussion of this issue, please [visit the issue on SourceForge](https://sourceforge.net/p/flightgear/codetickets/2879). To continue discussing this issue, please use this issue page here on GitLab. Hi, i wanted to show a nice welcome message at the C182 and stumbled upon a problem with the MessageBox implementation. It always has a fixed size. It would be cool if the messageBox could be sized optionally, so I added a small patch introducing an optional parameter. PR hereby: * Repo https://beni.hallinger.org/git/fgdata.git * branch `CanvasMessageBox_sizeable` If its merged I will ammend the wiki page: https://wiki.flightgear.org/Canvas_MessageBox ----- ``` # Examples: canvas.MessageBox.information("Orignal", "bla bla bla", nil, canvas.MessageBox.Ok); canvas.MessageBox.question("Bigger", "BarContent", nil, canvas.MessageBox.Cancel, [300, 300]); ```
issue