Codename one image issue

问题描述:

我目前使用Codename创建一个应用程序,但是当我将图像添加到按钮时,质量受到影响。图标是非常高质量的PNG文件,所以他们不是问题。有谁知道我可以如何添加图像和保持质量?Codename one image issue

我猜你设置图像作为背景,而不是将它们设置为默认缩放的图标。

尝试缩放以填充背景行为设置或编写更具描述性的问题。我也建议使用多图像http://www.codenameone.com/how-do-i---fetch-an-image-from-the-resource-file---add-a-multiimage