onResize event.

Forum to discuss the new web client version of Servoy.

onResize event.

Postby imarti » Fri Jul 01, 2016 5:34 pm

Hi.
I'm very new in servoy.

I'm developing a solution and I need that the form resize whenever I change the screen size.

Maybe exist an method for it (it is wonderfull), but I think it don't exist.

when I try to resize a form, that form don't resize the content. If I take all elements and with an array I resize it, doesn't works well.

Maybe I don't explainme well. Sorry. My english are really bad.

I don't find the information.

Thanks.
imarti
 
Posts: 7
Joined: Sat Mar 26, 2016 5:52 pm

Re: onResize event.

Postby IT2Be » Fri Jul 01, 2016 7:17 pm

You can resize a form and all elements.

For that you have 4 'anchors'.
You can set the from top-left to bottom-right so you can resize the width and height of an element.

There is also the form.onResize event that you can use.

It that a good enough answer to your question?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 10 guests

cron