Button's Command property Disabled RolloverIcons, PressedIcon

18 views
Skip to first unread message

ayoola ajebeku

unread,
Jul 25, 2013, 12:19:38 PM7/25/13
to codenameone...@googlegroups.com
Hi,

Noticed a bug in CN GUI Designer,
When a Button's Command property is set, the RolloverIcons, PressedIcon becomes disabled. 

ayoola ajebeku

unread,
Jul 25, 2013, 1:54:39 PM7/25/13
to codenameone...@googlegroups.com
Also, if you set a component's Background style to Image_Aligned_Center, the component often have a white background by default.

Shai Almog

unread,
Jul 25, 2013, 2:23:08 PM7/25/13
to codenameone...@googlegroups.com
Hi,
if you set a command then the icons are determined by the command not by the component. That's why they are disabled.
When an image is aligned the background color is drawn. If you set the transparency to 0 (the default in many themes) and you do this to a Form.... Well. It won't end well.

ayoola ajebeku

unread,
Jul 26, 2013, 6:31:13 AM7/26/13
to codenameone...@googlegroups.com
Thanks so much! It worked.
Reply all
Reply to author
Forward
0 new messages