Page 1 of 1

Size of the browse form

Posted: Sun Dec 05, 2021 12:04 am
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.

Re: Size of the browse form

Posted: Sun Dec 05, 2021 5:33 am
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

Re: Size of the browse form

Posted: Sun Dec 05, 2021 9:59 am
by yvesf
Many thanks Kev1n, it works perfectly. :D