Page 1 of 1

nuPopup Size

Posted: Tue Mar 23, 2021 4:20 pm
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

Re: nuPopup Size

Posted: Tue Mar 23, 2021 5:25 pm
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.

Re: nuPopup Size

Posted: Thu Mar 25, 2021 2:43 pm
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.

Re: nuPopup Size

Posted: Thu Mar 25, 2021 3:02 pm
by chpwebmaster
That Fixed it

Thank You

Re: nuPopup Size

Posted: Fri Mar 26, 2021 8:02 am
by kev1n
Github updated with fix.