Larkinabout / fvtt-token-action-hud-pf2e

Token Action HUD is a repositionable HUD of actions for a selected token.
10 stars 15 forks source link

Inconsistency in number of buttons per row #5

Closed tehguitarist closed 1 year ago

tehguitarist commented 1 year ago

Started a new issue for cleaner tracking.

There seems to be an inconsistency with how many buttons are on a line. Specifically on the to hit, and damage buttons. All in a row is nice, but that varies from character to character.

Screenshot 2023-02-13 at 8 39 38 pm Screenshot 2023-02-13 at 8 43 36 pm
Larkinabout commented 1 year ago

You can set a custom width for the entire category by unlocking the HUD, right-clicking the category button, then entering a value in the 'Custom Width'. It's mainly inconsistent because the resizer looks to minimise left to right cursor movement while also minimising vertical length, which is great for groups like 'Conditions' and 'Inventory', but not so great for groups like 'Strikes' where it looks better all on one line.

Larkinabout commented 1 year ago

There used to be a css class that could be manually added to a group, but that meant the user had no choice in the matter. The 'Custom Width' effectively replaces it.

tehguitarist commented 1 year ago

Will this suffer from the same “settings per item”? Sorry for these ones, just thinking of ux complaints that are bound to come up. I guess the trick there is the actor with more weapons ended up needing more vertical mouse movements, which as you said in the other issue, some players like to have more weapons than sense.

Larkinabout commented 1 year ago

The custom width setting is for the whole category. It's the same method that the non-grid layout uses, except it's not calculated based on number of actions.

Larkinabout commented 1 year ago

Closing as fixable via Custom Width and general improvements to the automatic resizing will happen as desired.