如何使用 gui builder 在 codenameone 中的按钮上插入长文本换行符

how to insert break line for long text on button in codenameone using gui builder

我想像换行一样在按钮上为长文本插入换行。

所以请帮助我。如何打破长文本并将其设置在 codename 中的按钮上,使用 Gui builder?

您需要使用 SpanButton class,我认为它在 GUI 构建器中公开了。