English 中文(简体)
How to change right side menu icon size in cn1?
原标题:

I couldn t figure out how to customize it(change the size, color...) of the menu icon (3 horizontal lines). It s small, I need to increase the size.

I saw this question How to change menu icon size in Codename One Toolbar? but it s too old and I didn t find the menuImageSize theme constant, although it appears in the documentation.

menuImageSize not appear

问题回答

It should still work fine despite the age. You can edit the value in the combo box. Notice we recommend working with CSS nowadays.





相关问题
Codename One: Issue with .createMedia method and audio files

I m trying to make an audio player for a game using Codename One but I ve been running into issues with the .createMedia method. public class AudioPlayer { private Media MEDIA = null; public Media ...

• 在《刑法》中宣传一

我正在用“一号法典”为移动打上 j球,并试图利用另一个透镜在框架中形成声器。 我陷入许多麻烦,主要是......。

How to change right side menu icon size in cn1?

I couldn t figure out how to customize it(change the size, color...) of the menu icon (3 horizontal lines). It s small, I need to increase the size. I saw this question How to change menu icon size in ...

How do I send an event to a component?

I have a button btn that doSomething() in response to a long-pressed event. Button btn = new Button("do Something button"); btn.addLongPressListener(new ActionListener(){ @...

Codename One - Upgrade to JDK 11

I m seeing the following error after upgrading the project to JDK 11. I have updated the CN1 Libraries from Extension Manager already and codename settings (codename1.arg.java.version=11) file with ...

热门标签