iFrame percent scaling

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
ahenderson
New User
Posts: 4
Joined: Mon Oct 18, 2010 2:52 pm
First Name: Aaron
Last Name: Henderson
Company Name: Bass Enterprises
Phone: 8173397218
City: Fort Worth
State / Province: Texas
Zip / Postal Code: 76102
Country: United States
Contact:

iFrame percent scaling

Post by ahenderson »

Does anyone else seem to be having problems when specifying the width of an iframe as a percentage? I have tried it with and without using layout containers and I get the same result. If I set the width to 100%, I get a container that it 100px wide. If I set it to 50%, I get one that is 50px wide.

I'm running version 4.1.6. I looked through the release notes for the newer version and I didn't see anything that seems to address this problem.
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: iFrame percent scaling

Post by Scott Klement »

I just tried it, and I get the correct (percentage) width inside the designer, but when I launch the actual application, it seems to treat the number as pixels instead of as a percentage.
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: iFrame percent scaling

Post by Scott Klement »

I've fixed this prbolem on our development box, and will include the changes in the next release of PUI. If you need the fix sooner, please send an e-mail to support@profoundlogic.com and request a patch.

Thanks!
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: iFrame percent scaling

Post by Scott Klement »

Profound UI 4.5.0 has been released, which contains a fix to this problem. iframe width/height should now work as a percent.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest