Add and resize image as header

13 views
Skip to first unread message

isgrou...@gmail.com

unread,
Aug 14, 2015, 11:16:37 AM8/14/15
to CodenameOne Discussions
IDE: IDEA

I am trying to add our logo to our application as a small header image to be on the top of the different sections, but when I use the ImageViewer it sets it as a default size and I cannot figure out how to set it so its not the full width making the image huge. I would like to add it as a smaller version so it doesn't consume so much space on the devices screen. What is the best way to do this?

Shai Almog

unread,
Aug 15, 2015, 12:55:50 AM8/15/15
to CodenameOne Discussions, isgrou...@gmail.com
Try setting the UIID of the TitleArea style to include the logo.
Reply all
Reply to author
Forward
0 new messages