Custom Dialog width not working

Hi all,
I have created this Custom Dialog but with defining width: 200 it does not work for example on the first column.
Can someone check what is missing ?

This is part of the code for the Columns where i have width and does not work

fields: [
{
fieldtype:‘Data’,
fieldname:‘name’,
label: __(‘Name’),
width: 300,
in_list_view:1,

Hi @Helio_Jesus,

...
	var dialog = new frappe.ui.Dialog({
					title: __("Select Items"),
                    
                    # dialog size increase for 
					size: "large",

					fields: [
						{
							fields: [
								{
									fieldtype:'Link',
									options:'Item',
									fieldname:'item_code',
									label: __('Item'),
									in_list_view:1,

                                   # table field columns increase for
									columns:3

								},
...

Please set your according.

Thank You!

1 Like