Groups
Sign in
Groups
CodenameOne Discussions
Conversations
Labels
About
Send feedback
Help
How can set Gap in a Command?
18 views
codenameone
command_menu
sidemenu
Skip to first unread message
Ulises Escobar
unread,
Oct 3, 2013, 4:02:46 PM
10/3/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
How can set Gap between icon and text in a SideMenuBar Command?
Shai Almog
unread,
Oct 4, 2013, 1:59:48 AM
10/4/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
You can override createTouchCommandButton but this seems like a reasonable use case so for the next update I'll add:
cmd.putClientProperty("iconGap", new Integer(myGapValue));
This should work for all touch commands not just sidemenu.
Reply all
Reply to author
Forward
0 new messages