How to widen the width of a dialog item

Creating file upload functionality.
I have created a dialog and set the file name and button using “FileUploadStyle::MinimalWithFilename”.
I would like to expand the range of file names,
How can I achieve this?

Thanks for your help.

Try setting Width Mode property to SizeToAvailable.

Thank you for your response.
But that didn’t happen.