#1 2016-03-25 23:20

Elektro
Senior Member
Registered: 2014-05-28
Posts: 76

[REQUEST] Adjust/Improve default size for table columns

Hello

This is the default size for the tables columns:

eZHQe7J.png

On the image above, I see two things that I consider a problem.

1st:
Since the "State" column only displays a fixed-icon size, it should have a much shorter default size, more than that, it should be unresizable, having a fixed column size just to display the green icon.

2nd:
The second problem, is that the default size does not take into account the width of a vertical scrollbar, then if we run ReNamer and drag-drop an amount of files, it will produce us the need of resizing the last column and/or the "State" column if we want to hide the horizontal scrollbar:

lDABimy.png



So, instead of letting the Delphi UI decide the default size, I think it would be better to assign a default fixed size, so when "State" column is present it will be properlly adjusted, and, when is not present, and if there is not any other column that displays an Icon, proportionally distribute the column size taking into account the possible scrollbar width.

In resume, I would like to see a default column sizes like this example:

wtOZ2Cr.png

Thanks for read!

Last edited by Elektro (2016-03-25 23:24)

Offline

#2 2016-03-29 15:52

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: [REQUEST] Adjust/Improve default size for table columns

1) Making the width of "State" column fixed defiantly makes sense.

2) Dealing with scrollbars is a problematic area.

When auto-sizing option in disabled in the settings, the columns are auto-sized only when the Files table is empty, just to produce a nicer visual look. A similar concept is applied to the Rules table too. As soon as you add a rule to the rules table or a file to the files table, no further auto-sizing is performed. Here we also respect the state of the auto-sizing option.

If we add many files to the table (forcing the appearance of the vertical scrollbar), we shouldn't apply arbitrary auto-sizing to the last column to hide the horizontal scroolbar, because we could be overriding a custom width already set by the user.

A potential workaround is to always take into account the size of not yet visible vertical scrollbar for auto-sizing columns when the files table is empty, but that produces a negative side effect for when the amount of files in the table is not sufficient to show the vertical scrollbar. Another potential workaround is to always show the vertical scrollbar. Neither of those scenarios seem optimal.

From the user's perspective, it's better to just enable the auto-sizing option in settings.

Offline

#3 2016-04-05 10:22

Elektro
Senior Member
Registered: 2014-05-28
Posts: 76

Re: [REQUEST] Adjust/Improve default size for table columns

And what about just remembering the user-selected width for each column? (only for the visible/enabled columns when running ReNamer, not for the hidden too!).

I think that would be the easiest solution!

EDIT: When I run ReNamer (or any program in general), I expect that their columns widths are restored to their defaults, but actually the width defaults are not the proper widths in ReNamer, then maybe remembering the user widths could be a good option, until a better option is implemented from you.

Last edited by Elektro (2016-04-05 10:30)

Offline

Board footer

Powered by FluxBB