在CodenameOne的一个版本和最新版本之间,对话框(Dialog)的DialogBody变得更大了,并且在其内容下方留下了过多的空白。我目前在IntelliJ中使用的是4.4版本。 以下是一个示例(但是我所有的对话框现在似乎都有同样的问题): 生成对话框的代码: Dialog.show("Quit this test?", "Do you really want to quit this test and discard your progress?", "Quit", "Return to Test")
这似乎是由于最近的更改导致的回归。我们找到了代码中负责此问题的行,并且应该在发布5.0之前修复。此问题在此处跟踪: https://github.com/codenameone/CodenameOne/issues/2536