Automatically set widgets position properties in percentage

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
jailall101
New User
Posts: 5
Joined: Wed Oct 17, 2012 9:32 am
First Name: Jailall
Last Name: Udan
Company Name: Banks DIH
Phone: 5926532317
Address 1: 21 Success Railway Line E.C.D Guyana
City: Georgetown
Country: Honduras
Contact:

Automatically set widgets position properties in percentage

Post by jailall101 »

Is there a way to configure profoundui to automatically position widgets by percentage when doing drag and drop?

Currently if i drag and drop widgets onto a canvas they are positioned by pixels. I will then have to set each widget property(left,top,width,height etc) to percentage and in cases where i have to use many widgets(labels,output fields, text boxes etc) it gets really tiresome and time consuming to manually set the properties for all the elements.
Additionally when an element is moved, the properties get reset to pixels and the entire positioning phase has to be repeated.

We want it to be in percentage so that it can be scalable on different screen sizes including mobile(tablet) screens.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Automatically set widgets position properties in percentage

Post by Scott Klement »

Unfortunately, there currently isn't a way to do this...

However, you might find the %Width and %Height options on the "Design" tab will help you? They make it easier to set things up as percents... But, you're right, if you drag/drop the fields, you'll lose those settings and will have to re-set them.
jailall101
New User
Posts: 5
Joined: Wed Oct 17, 2012 9:32 am
First Name: Jailall
Last Name: Udan
Company Name: Banks DIH
Phone: 5926532317
Address 1: 21 Success Railway Line E.C.D Guyana
City: Georgetown
Country: Honduras
Contact:

Re: Automatically set widgets position properties in percentage

Post by jailall101 »

Thank you for your reply. I wish that in the future this feature will be available.
Steve Bone
New User
Posts: 11
Joined: Wed Jul 16, 2014 6:19 am
First Name: Steve
Last Name: Bone
Company Name: Kuehne + Nagel
Contact:

Re: Automatically set widgets position properties in percentage

Post by Steve Bone »

I think this would be quite a helpful feature in the designer.
We are going to develop applications for different sized screens, so there would be less trouble with positioning and element size if there was a setting in the designer to automatically use % values instead of px.

Is something like this planned?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Automatically set widgets position properties in percentage

Post by Scott Klement »

Sorry, no.. .this is not planned. When you drag/drop widgets, the browser reports the mouse coordinates to the designer in pixels. Unfortunately, there really isn't any good or reliable way to convert these pixels into percents. So the drag/drop operations cannot be used to set positions in percents, and most likely will never be.

Instead, you can use the percent options on the ribbon, or you can set the widget properties as percents in the properties box.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests