NX_Game_Info icon indicating copy to clipboard operation
NX_Game_Info copied to clipboard

Adjust rename dialog width depends on contents on expanded/collapsed

Open garoxas opened this issue 4 years ago • 0 comments

Describe the solution you'd like Adjust rename dialog width depends on contents on expanded/collapsed

Additional context Currently rename dialog width set to fixed size at 350 regardless of the content, so whenever the dialog expanded to show the list of files to be renamed, it will be sufficient to display the filenames without being wrapped

Dialog width set to 0 (default) image

Dialog width set to 350 image

However, this looks unnatural when collapsed because there is too many extra white space

image

Ideally the dialog should initially shown at default size, and only set to 350 when being expanded (or better yet, allow Windows to automatically calculate how many pixel is needed and set to width to optimize size)

This could be fixed by using custom form, however I prefer using native Windows solution such as Task Dialog Current rename dialog already implemented with Task Dialog API wrapped using TaskDialog library. Some modifications in this library should be possible to solve the issue while keep using native Windows Task Dialog

garoxas avatar May 31 '20 11:05 garoxas