英文:
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.
我无法弄清楚如何自定义菜单图标(3条水平线)的大小、颜色等。它太小了,我需要增加大小。
I saw this question https://stackoverflow.com/questions/41428512/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.
我看到了这个问题https://stackoverflow.com/questions/41428512/how-to-change-menu-icon-size-in-codename-one-toolbar,但它太旧了,我没有找到“menuImageSize”主题常量,尽管它出现在文档中。
英文:
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 <https://stackoverflow.com/questions/41428512/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.
答案1
得分: 1
你还可以使用样式来自定义它。请查看此应用的仪表板汉堡图标FeaturesCN。
由于你的汉堡在右边,请使用
tb.addCommandToRightBar(menuCmd);
而不是
tb.addCommandToLeftBar(menuCmd);
英文:
You can also use Style to customize it. See dashboard's hamburger icon of this app FeaturesCN.
And these implementations; hamburger command and Styling
Since your hamburger is on the right use
tb.addCommandToRightBar(menuCmd);
instead of
tb.addCommandToLeftBar(menuCmd);
答案2
得分: 0
这仍然应该在年代上没有问题。您可以编辑组合框中的值。请注意,我们建议现在使用CSS进行工作。
英文:
It should still work fine despite the age. You can edit the value in the combo box. Notice we recommend working with CSS nowadays.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论