Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

nuPopup Size

Questions related to using nuBuilder Forte.
Post Reply
chpwebmaster
Posts: 72
Joined: Mon Jun 10, 2019 5:00 pm
Has thanked: 6 times
Been thanked: 4 times

nuPopup Size

Unread post by chpwebmaster »

I am having trouble with the size of popup windows not including all of the content even when the screen is quite a bit larger than the total size that the popup should take up.
BadPopup.png
The popup window should show the entire subform which only has 2 columns Date Logged and the customers previous phone number.


I'm calling it from my menu bar with

Code: Select all

nuPopup('604f9b4345119ff', $('#ID').val(), '');
Is there something I'm missing? Or could another couple optional width, height parameters be added to force a size for a specific popup window?

Current Version:
DB V.4.5-2021.03.14.00
Files V.4.5-2021.03.18.01
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: nuPopup Size

Unread post by kev1n »

I will have to investigate. In the meantime, add a new (invisible) dummy object and set its Left position to 800 or so. This to force the popup to become wider.
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: nuPopup Size

Unread post by kev1n »

Replace this line in the file nuform.js:

Code: Select all

	var s	= '[data-nu-object-id][data-nu-prefix=""]';
with

Code: Select all

var s	= '[data-nu-object-id][data-nu-prefix=""], [data-nu-subform=true]';
Then log in again into nuBuilder and let me know if it works for you.
chpwebmaster
Posts: 72
Joined: Mon Jun 10, 2019 5:00 pm
Has thanked: 6 times
Been thanked: 4 times

Re: nuPopup Size

Unread post by chpwebmaster »

That Fixed it

Thank You
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: nuPopup Size

Unread post by kev1n »

Github updated with fix.
Post Reply