Label Column Question

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
VeeGee

Label Column Question

Post by VeeGee »

Good afternoon all,
I am starting to use labels in addition to my tags. I am finding them incredibly easy and powerful to use. Is there a setting/tweak that I am missing that would make "Label Column (symbol)" fill the column space like it does when using "Label Column (caption)" ? When using the symbol, it's too small. When using the caption, it's perfect; however, I don't really need (but could live with it) the name of the color.

Before (using Symbol) :
P1.png
P1.png (935 Bytes) Viewed 650 times
Trying to get this :
P3.png
P3.png (1012 Bytes) Viewed 650 times
Instead of this :
P2.png
P2.png (1.35 KiB) Viewed 650 times

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Label Column Question

Post by highend »

You mean something like this?

Code: Select all

Snip: CustomColumn 1
  XYplorer 19.00.0000, 25.05.2018 19:45:57
Action
  ConfigureColumn
Caption
  Label
Type
  3
Definition
      $label = property("#label", <cc_item>);
      switch (true) {
          case $label == "":
              return "";
          case $label LikeI "orange":
              return '>draw.bar, 100, F6AB46, F6AB46';
          case $label LikeI "purple":
              return '>draw.bar, 100, E29CDC, E29CDC';
      }
Format
  7
Trigger
  1
Item Type
  0
Item Filter

One of my scripts helped you out? Please donate via Paypal

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

Re: Label Column Question

Post by jupe »

Another option you could use is renaming the labels to just a space character or multiples of, that is if the actual names weren't important to you, and then leaving the coloring set to (caption), that way you could still set labels via right clicking the label column, which isn't possible the way highend has suggested, also you need to refresh the list to see label changes if you use that method too.

VeeGee

Re: Label Column Question

Post by VeeGee »

Thank you both for your suggestions. For now, I am using the one pictured in P2 (full size w/caption included). Maybe Don will see this and add a "full size" option w/o the caption displayed (doing so would round-out all the possible display options).

Post Reply