Spacing between checkboxes when using "g_modal.showfields"

Magnus2
Tera Contributor

Is it possible to remove the spacing between the checkboxes?

Magnus2_0-1691577622116.png

 

 

 

The window is created by a UI action Workspace Client script using the "g_modal.showFields".

 

		if(attArray){
			for (var i = 0; i < attArray.length; i++) {
				fields.push({
					type: 'boolean',
					name: attArray[i].id,
					label: attArray[i].name,
					mandatory: false
				});
			}

		}


	g_modal.showFields({
			title: "Deleger child",
			fields: fields,
			size: 'lg',
			height: 'md'
		}).then(function(fieldValues) {

});

 

 

3 REPLIES 3

Mohith Devatte
Tera Sage
Tera Sage

Hello @Magnus2 ,

I dont think we can edit the spacing between the fields but try one thing 

Reduce the size of the modal window from md to sm which is small .It might reduce the spacing if the size of the window is reduced.

 

Hope this helps

Mark my answer correct if this helps you 

Thanks

Thanks for the reply, but changing the window size did not help.

 

Magnus2_0-1691582558125.png

 

 

@Magnus2 Then as far as i know i guess there is no way to do this as API is in built.

Hope this helps 

mark my answer correct if this helps you 

Thanks