Drental / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 68 forks source link

List is too long to display all items #176

Closed Farmeroz closed 2 years ago

Farmeroz commented 2 years ago

Thank you for putting in support for GURPS!

GURPS often has long lists under categories (such as spells, or skills, and so on). Basically, it's very easy to find that the list is so long it goes off the bottom of the screen and I couldn't find a setting to make it 'wrap' into extra columns. Is there a way to do this? Otherwise many of the items are not accessible.

Thanks!

crnormand commented 2 years ago

The issue is how I generated the action lists. Each Skill/Spell is a Subcategory, so that is displays vertically, and then any OtFs that are detected in the Skill/Spell name (and notes), will be displayed to the right (p.s. you will not get this display yet, until PR https://github.com/Drental/fvtt-tokenactionhud/pull/177 is accepted).

image

I could just load up the list of actions without using subcategories, which allows Token Action HUD to wrap the buttons, ex: Maneuvers image

But then it would look completely disorganized if a Skill/Spell has OtFs in their names/notes. So I don't have a good solution for this.

Can you attach a .GCS file (zipped) so I can see how bad it is?

crnormand commented 2 years ago

Ok, I think I have a good solution. I've added a new module setting: image

Skill/Spells lists greater than that number will split it multiple columns: image image image

Good enough?

Farmeroz commented 2 years ago

Thanks, Chris - I think that will work really well. Sorry for the late reply - time zone differences :-). I was actually at work and saw your updates but couldn't respond.

Just for interest, I have attached a ZIP of a GCA export to FVTT file that has plenty of skills and spells (I use GCA not GCS).

Alisha Dhovi.zip

crnormand commented 2 years ago

But you are going to switch to GCS soon, right? ;-) (j/k)

crnormand commented 2 years ago

Wow, that character really does have a lot of spells.

image image

Drental commented 2 years ago

why is that list single column? do I need to check your Code after all sir?

Farmeroz commented 2 years ago

Wow, that character really does have a lot of spells.

And it will grow :-) And if you ever see a Spec Ops character, the skill list is never ending!

It looks really good in your example and I think that will work very well, thanks. GCS? I did try it and it looks great, I'm just too used to GCA and the new GCA5 is awesome. Appreciate that you support both!

Farmeroz commented 2 years ago

This is working well with the latest update just released which includes the GURPS updates. Thanks!