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

Strikes Panel is completely broken #1

Closed apoapostolov closed 1 year ago

apoapostolov commented 1 year ago

Current situation, with no mods except TAHC. Issue seems to be Grid limit is applied to all buttons, as minimum instead maximum

image

Bad Buttons + and - to edit spell slots

image

Larkinabout commented 1 year ago

That's not broken, it's just the impact of using a grid layout on buttons with very variable widths. Grid layout currently uses the median width plus a bit extra. Using the max content would look just as bad with overly wide buttons.

In terms of spell slot buttons, I'm planning to move those to the subtitle info, so they're not impacted by the grid layout. For strikes, I just wouldn't use a grid layout as it works better without.

In the future, I expect I'll add in dual widths, such as median width and half median width, but for now it's a choice between grid layout for all or none.

apoapostolov commented 1 year ago

Okay first off, the problem was that I had Use Grid on in my mod settings, causing the whole interface (all sections) to be treated as grid. This was fixed by turning that option off.

I will open a separate issue for all the problems I think there are with the current implementation of Attacks.