tablacus / TablacusExplorer

A tabbed file manager with Add-on support
https://tablacus.github.io/explorer_en.html
MIT License
976 stars 102 forks source link

Customizing "Label" #776

Closed dieg467 closed 2 months ago

dieg467 commented 2 months ago

Hi, I'm using the "Label" plugin a lot. Currently you can add a red text label. Is there a way to change: (1) Text color, (2) Text format (normal, bold, italic), (3) Label background color, (4) Shape of the label background color, such as rounded rectangle, angled edges, etc. Is this possible with CSS code or a plugin? Thank you very much.

ccfs commented 2 months ago

(1) You can change text color through the Options page. 20240901_144440

(2), (3) Enhancement to "Overlay label" add-on is required. ILLUSTRATION: 20240901_144416

(4) The shape is probably NOT able to be changed.

dieg467 commented 2 months ago

Perfect, ccfs. You can customize the color of each label. Hopefully in the future you will be able to select the font type, background color, and background shape, either with a plugin enhancement or via CSS code. Thanks again!!

ccfs commented 2 months ago

This modified version lets you:

TE file lists are not in HTML, and thus cannot be styled with CSS.

dieg467 commented 2 months ago

Awesome ccfs!! Now my virtual classes are labeled with their duration, I can put a background color on the label, and customize the font and its style. Thank you very much for this patch!! image

ccfs commented 2 months ago

I have added padding options to the latest version. You can specify a space at left and right if you want a wider colored background.

dieg467 commented 2 months ago

Perfect, ccfs!! In the images you can see two padding options, one with 1 blank space on the left and 1 on the right, and another with 2 blank spaces on each side. This makes the textless spaces in the label look more symmetrical on all four sides, and the text also appears more separated from the column to its right. I also changed the font of the label to Roboto bold, size 11. Thank you very much for this improvement!

Lista archivos (Tablacus) con padding1

Lista archivos (Tablacus) con padding2

dieg467 commented 2 months ago

A question. If I rename the folder, then all the tags on the files and subfolders in it are deleted. This happens with both the original version and the patched version of the "Tag" plugin. Is this the expected behavior? Or is there a way to prevent them from being deleted?

ccfs commented 2 months ago

"Label" add-on will update the path associated with a label when a folder is renamed (or moved). It will NOT update the paths of the items inside the folder. Those labels are not deleted, just still associate with the old paths.

I have enhanced the add-on so that you can opt to synchronize the items inside a folder, and keep the labels attached. 20240911_154737

You will need to use the patched version.

dieg467 commented 2 months ago

Awesome! Thank you very much ccfs for adding these features to the plugin. I am more and more satisfied with using Tablacus Explorer every day, it makes file and folder management much easier for me. Thanks again!!

dieg467 commented 2 months ago

Hi ccfs, I need help! When I want to add a new tag, which I have not used before and is not in the list of used tags, I get the following window: 'Input dialog2' is not defined as null.

Input Label

What could be the problem?

ccfs commented 2 months ago

You have to run "patch.cmd" to apply the whole patch, not just replacing the label add-on folder. Make sure you make a backup of your TE folder before running "patch.cmd".

dieg467 commented 2 months ago

Perfect! I ran the patch.cmd from the command prompt, added the path to Tablacus and the patch was installed and now the Etiqueta plugin works correctly. Thanks a lot, ccfs!