I wanted to replace a dynamic button on my vertical toolbar that shows all the folders of the current directory I’m in. The following button command
Go CURRENT FOLDERCONTENT="showempty,noparselinks,norecurse,nofiles,maxdirs=100,maxwidth=25"
does not offer the full range of possibilities of scripting. With a scripted dynamic button - this relatively new feature introduced some half year ago or so - a lot more is possible. For instance I can show ‘pinned’ folders (folders having an Opus ‘pinned’ label) on top of the rest of the folders.
But I encountered a problem. If I don’t use icons, the entries cannot be properly aligned so it seems. Below are both solutions active on my vertical toolbar - the FIRST one is the new, scripted solution (with 3 pinned folders on top), the second one is the old solution:
Problem is that the folder names are not aligned properly. Unfortunately, in Opus this can only be done by activating an icon. But doing so creates a different problem:
This is the result of adding the following properties to the button objects for each subfolder:
button.showlabel = 'left';
button.image="#folder";
button.showimage=true; //true or false, "dual", "large", or "largedual".
Setting showimage to ‘true’ created a smaller image than using the value “dual” or anything else (which make the icon size only higher), but even the smalles one causes a lot of space being wasted if you compare it to the old solution (the second part) in the toolbar).
Is there a solution or workaround for this? Is it a bug?

