如何使用 GUI 生成器在 codenameone 中制作圆形按钮

How to make circle shape buttons in codenameone with GUI builder

如何使用 codenameone gui builder 制作圆形按钮

不要使用在设计器中使用 multi-image of a circle and set it to the background image of the component with a "scale to fit" background type. Make sure to override the border to be "empty" 而不是使用圆形元素固有缺陷的 9 片边框。

添加填充(最好以毫米为单位)以营造尺寸感。