Open Lyinggod opened 1 month ago
Thank you for the idea.
I try to keep this as simple as possible. Would an automated reduction of the font size based on the number of characters also be a viable option?
My preference would be a bit more control over the font size especially since too much text would cause such shrinkage that would render the text unreadable. Perhaps if there was a minimum font size to prevent it becoming too small, maybe 20pts at minimum size?
On Sun, Sep 8, 2024 at 8:20 AM Marko @.***> wrote:
Thank you for the idea.
I try to keep this as simple as possible. Would an automated reduction of the font size based on the number of characters also be a viable option?
— Reply to this email directly, view it on GitHub https://github.com/mrkwnzl/stickynotes-foundryvtt/issues/2#issuecomment-2336723994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD466WGONPXBHV7DU4BTS7DZVRTMNAVCNFSM6AAAAABN3A6MVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG4ZDGOJZGQ . You are receiving this because you authored the thread.Message ID: @.***>
Okay, I played around with this and I’m not really satisfied with the results. Writing longer texts is just a hassle.
Adding longer texts to the sticky notes kind of leaves the scope of this module. Mind that I’m using the default text drawing tools of Foundry, so what this module adds is basically just a template for drawings. The text drawings aren’t meant for longer texts, they barely work for texts longer than a few words. That’s why there’s no text formatting at all and why you can’t add paragraphs.
With the current settings, you can get these results: On a medium sized note, you can add about 190 characters per note, that’s roughly 30 words. With a large note size and disabled font scaling (meaning you keep it at 48 pt font size), you can add about 430 characters per note, that’s roughly 70 words. This really pushes the limit on what text drawings can reasonably deliver.
Addendum: There will be a new macro as part of v1.3.0 with which you can create your own templates. You can configure the size and font size there and create a number of macros for various scenarios, including one which will be bigger and with a smaller font size.
Let me know if that is a viable workaround for you.
Thanks. I have been using sticky with the R-Map, Token Attacher, and Move That For You modules so players can manipulate a "clue board". It turns out that sticky notes (or similar objects) attached to tokens (Token Attacher) can't be edited at all so I modified your initial macro to allow players to edit their sticky notes (as clues evolve) after being attached tokens and included this option. I suggested the option as I thought others might benefit from it.
On Thu, Oct 10, 2024 at 3:48 AM Marko @.***> wrote:
Addendum: There will be a new macro as part of v1.3.0 with which you can create your own templates. You can configure the size and font size there and create a number of macros for various scenarios, including one which will be bigger and with a smaller font size.
Let me know if that is a viable workaround for you.
— Reply to this email directly, view it on GitHub https://github.com/mrkwnzl/stickynotes-foundryvtt/issues/2#issuecomment-2404750117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD466WGYLU3AWM2TBIE2AADZ2ZLQBAVCNFSM6AAAAABN3A6MVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBUG42TAMJRG4 . You are receiving this because you authored the thread.Message ID: @.***>
I’m sorry, I’m not quite sure I understand. Which macro do you mean by “initial macro”?
Sorry, I had confused your module with another. I created a custom macro based on your code since there was no way to edit the sticky notes attached to tokens via Token Attacher. It shows the sticky notes created by individual players, showing the text of each of their notes in a dropdown and a text field that populates with the selected text. It has a dropdown to change fonts from about 20px to 46px, and the ability to re-color the notes.
Add the ability for the editor dialog to adjust font size from a dropdown with a range of, perhaps, 20-48. While this can be done via the drawing configuration dialog, having the ability to reduce text size when (less savy) players are adding longer text to notes would be helpful.