Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Launch form size Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Launch form size

Unread post by yvesf »

Hello,

In launch form, how do you control its size ? I use a launch form as popup and I have got always space especially at the bottom which creates weird popups.
Capture d'écran 2025-05-11 074522.png
Thx if you have solution to this layout pb,

Yves
You do not have the required permissions to view the files attached to this post.
Last edited by yvesf on Mon May 12, 2025 10:07 pm, edited 1 time in total.
steven
Posts: 369
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 52 times
Been thanked: 52 times

Re: Launch form size

Unread post by steven »

Is this another question?
A short post is a good post.
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Re: Launch form size

Unread post by yvesf »

yes it is another question requesting how to control the pop-up size

Yves
steven
Posts: 369
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 52 times
Been thanked: 52 times

Re: Launch form size

Unread post by steven »

Yves,

What have you tried so far to fix your problem?


Steven
A short post is a good post.
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Re: Launch form size

Unread post by yvesf »

Hello Steven,

I'm trying to use the system as-is, without customization as much as possible.
I noticed that when using nuHideHolders(0,1,2), a launch form could be used as a popup : it's close to what I need — but it seems there's no control over its size.
My question is: does the system provide a built-in way (e.g., a formula or setting) to control the size of the launch form popup?
If not, I understand we can achieve this through JavaScript, but I’d prefer to use native features if available.
Thanks in advance for pointing me in the right direction!


Best regards,

Yves
steven
Posts: 369
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 52 times
Been thanked: 52 times

Re: Launch form size

Unread post by steven »

Try Changing the amount of area taken up by the Objects.
A short post is a good post.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Launch form size

Unread post by kev1n »

Try reducing the popup size by adding this JS to the popup custom code:

Code: Select all

function setDialogHeight(dialogId, height) {
    var dialog = $(dialogId, window.parent.document);
    dialog.css('height', height);
}

// Usage
setDialogHeight('#nuDragDialog', '400px');
setDialogHeight('#nuWindow', '360px');
Change heights accordingly
Post Reply