Twintop's Resource Bar

Twintop's Resource Bar

670k Downloads

Bind bar height/width to external frame

Twintop opened this issue ยท 0 comments

commented

Rather than have the bar have static dimensions that are changed in the options menu, add the ability to have the bar's dimensions (either height, width, or both) bound to some external frame.

Considerations:

  • How often to update logic that uses height/width variables?
    • If this is enabled, maybe have those be pulled live every time they are needed instead of using settings? Poll the frame for changes?
    • Bar border has specific logic involved for determining maximum width vs total bar width/height. What happens if it gets too small?
  • What to do about minimum sizes in case the frame it is anchored to is width 0 or hidden?
  • Dynamic groups in WAs could change a lot.

Requested by AxelSynken on Twitter (https://twitter.com/AxelSynken/status/1424365099830099968)