GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Custom Columns Type "star"

#1

If a custom column with type "star" is set to "autosize" it is always sized to 5 stars, no matter what maxstar is set in the results.
Dynamic sizing to the max number of stars (like e.g. the dynamic sized filename column) would be desirable.

#2

I can't reproduce that here - it sizes correctly for the number of stars.

What happens if you double-click the column header to autosize the column manually?

#3

Column generated with my RegExpScript
MaxStars set to 10.

View after Column was added:

After Manual Resize of the Column (click'n'move with column boarder)

After Manual Autoresize of the Column (double click on column boarder)

View of the Config (Auto size turned on)


#4

Your script doesn't seem to be setting the ScriptColumn.maxstars property, which is what Opus uses to calculate the necessary size.

#5

oh, you're right.
I missed the requiremen to set maxstar property during the column init.

Thanks for the help, now it is working as expected.