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.

Size of the browse form

Questions related to using nuBuilder Forte.
Post Reply
yvesf
Posts: 348
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 94 times
Been thanked: 12 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: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 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: 348
Joined: Sun Mar 14, 2021 8:48 am
Location: Geneva
Has thanked: 94 times
Been thanked: 12 times

Re: Size of the browse form

Unread post by yvesf »

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