CarlosFdez / global-progress-clocks

FoundryVTT module for Blades in the Dark style progress clocks that show on the sidebar
MIT License
7 stars 7 forks source link

Offset starting position #4

Closed rtfmtech closed 7 months ago

rtfmtech commented 1 year ago
  1. Is it possible to offset where the clocks start, also
  2. Is it possible to make the clocks larger or smaller?

I have an overlap with another module (Party Resources) and would like the clocks to start below the bar: image

Orionox commented 1 year ago

This is badly needed!! my clock is in the far corner covered by the options bar

CarlosFdez commented 1 year ago

Sorry for the late response, I have too many notifications and didn't notice this one was here. Can you show a larger screenshot of the conflict you're having? I want to think of the best way to approach the problem.

I guess I do wonder, why does a from bottom start not work? I'd assume that's the usual one that wouldn't have conflicts.

My name is Supe on the foundry discord, for those that would like to find me there.

Larger/Smaller I'd have to see what you're trying to do, but my inclination is preset sizes since the font size also has to increase, and so would the width.

rtfmtech commented 1 year ago

Hey @CarlosFdez, I'd love to try to fix it myself, but I'm not sure where to start with it...

If you look at my original report, the picture shows it, but I guess it's difficult to see when you don't know what you are looking at.

If you look at the background behind the "Clock" there is a lighter grey bar going across, that is from a different addon, and what I would like is some sort of Offset so the first clock would start x pixels from the top (or bottom) corner, so it would appear below the grey bar (I believe it's 150 pixels) but would love to have it customizable.

Point me in the right direction and I'll try my hand at the code (I'm a newbie)

CarlosFdez commented 1 year ago

I meant that I'd like to see a bigger screenshot. That one is hard to see what's going on.

If you want to add an offset as a world setting, I don't mind! It'd need to work for both bottom and top anchoring, but that shouldn't be a big deal. You could maybe handle it using a css variable like how the clocks are rendered (--offset: blah).

rtfmtech commented 1 year ago

Here is a bigger picture, as you can see, I have a Group Resources bar that goes across the top, and the clocks from this addon going down the side from the top, and they overlap.

image

CarlosFdez commented 7 months ago

Bit late, but this is now handled by release 0.4.0.