Adjust component without scroll

25 views
Skip to first unread message

Aayushma Nepal

unread,
Jul 13, 2016, 1:08:18 AM7/13/16
to CodenameOne Discussions
Hi,
i have a page that contain all the component.when i run in the device having big screen, all the component are adjust without scrolling method.
But i want this to happen same in the device having small screen.
Simply, i want everything adjust according to the screen size without the help of scroll. 
Please have a look in the picture.

 

just wanna make it smaller according to mobile screen


 

perfect that i want without scroll

Thanks.

Shai Almog

unread,
Jul 13, 2016, 1:28:05 AM7/13/16
to CodenameOne Discussions
Hi,
call setScrollable(false) on the form.

Aayushma Nepal

unread,
Jul 13, 2016, 1:34:32 AM7/13/16
to codenameone...@googlegroups.com
Hi.
Ya, but it doesnot show all the component in the small screen..
if i do that then i only shows half of the information..
I wanna manage all the information according to the screen size.
Thanks


On 13 July 2016 at 11:13, Shai Almog <shai....@gmail.com> wrote:
Hi,
call setScrollable(false) on the form.

--
You received this message because you are subscribed to a topic in the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/codenameone-discussions/gyNivOZg79M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to codenameone-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f362db8f-13f6-46bc-956f-1fa437c7b85b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Shai Almog

unread,
Jul 14, 2016, 1:22:58 AM7/14/16
to CodenameOne Discussions
Hi,
what's the layout. I notice a lot of spacing in your UI so it's very possible it just can't fit into place in the phone form factor.
Reply all
Reply to author
Forward
0 new messages