Welcome to the nuBuilder Forums!

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

Size of the browse form

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

Size of the browse form

Unread post by yvesf »

I am trying to have a browse form smaller than the screen. If I put small numbers on the browse tab for each column, nuBuilder resizes the browse form and it takes the full screen.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Size of the browse form

Unread post by kev1n »

Hi,

Add

Code: Select all

nuStopBrowserResize();
in your form's Custom Code. This prevents the form from being resized automatically.


To disable the resizing for all forms, set this option to false in nuconfig.php:

Code: Select all

nuUXOptions['nuAutosizeBrowseColumns']	= false;	// Autosize columns to fit the document width
The latest on Github includes a form option to control the browse width:
auto_resize.jpg
You do not have the required permissions to view the files attached to this post.
yvesf
Posts: 315
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 87 times
Been thanked: 11 times

Re: Size of the browse form

Unread post by yvesf »

Many thanks Kev1n, it works perfectly. :D
Post Reply