Autosize icon format columns

Features wanted...
Post Reply
jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Autosize icon format columns

Post by jupe »

Just a usability suggestion, if you think it would be feasible to make autosize columns work for icon format columns, (maybe based on token count * height.) I think it would be an improvement.

In my use case, I usually have icon columns as the rightmost column and it is a bit fiddly to manually enlarge the column when the XY window is against the RHS of the screen, and when looking at a column there is no easy way of knowing if icons are missing without enlarging to check.

I made up a quick random icon column if it is any use for testing,

Code: Select all

Snip: CustomColumn 1
  XYplorer 28.20.0504, 21/3/26 1:44:33 PM
Action
  ConfigureColumn
Caption
  RandICO
Type
  3
Definition
  return strrepeat("<xy> /<get rs 1 234>|", strlen(<cc_base>));
Format
  7
Trigger
  0
Item Type
  0
Item Filter
  

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Autosize icon format columns

Post by admin »

Got it working basically. Didn't test it with higher screen scaling. Let me know. Next beta.

PS: cool test column :tup:

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Autosize icon format columns

Post by jupe »

Oh cool thanks for this!

But it seems it is usually 1 icon short for me (at 125%), I thought it was the trailing separator, but if I trim it then it becomes 2 icons short.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Autosize icon format columns

Post by admin »

Oh yes, stupid mistake (all scalings). Next beta.

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Autosize icon format columns

Post by jupe »

Now it seems to work well, just need to remember to always use a trailing sep.

Thanks again. :tup:

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Autosize icon format columns

Post by admin »

Ah, no worries, I will handle that in the next beta.

Post Reply