vixalien / sticky

A simple sticky notes app for GNOME
https://flathub.org/apps/details/com.vixalien.sticky
MIT License
183 stars 28 forks source link

[Feature suggestion] Ability to make text smaller or bigger #17

Open LarryIsBetter opened 1 year ago

LarryIsBetter commented 1 year ago

Would be a big help and less eye strain.

gforcada commented 1 year ago

Yes please!! Double bonus if Ctrl + and Ctrl - increase and decrease the overall font size on a note πŸ˜„

vixalien commented 1 year ago

what would make more sense: zoom level being global, or per note?

gforcada commented 1 year ago

πŸ€” as long as it is easy to change it within a note, then globally might be good enough (I'm thinking on a use case of having only one note open at a time, if having several at the same time, then per note makes more sense IMHO)

vixalien commented 1 year ago

sory for the late reply, but I did not fully catch what you meant

when you, say press <Ctrl>+ does that change the font for the current open note, or for all the notes??

maybe we can implement the two settings, where there is a "preferences" window in the all notes window, and users can also increase the size of each note globally...

gforcada commented 1 year ago

Not sure if a preference is enough, a sane default should be good enough πŸ€“ getting that one might be difficult though πŸ˜“

What's the primary use case of sticky? To have several notes shown at the same time? How are colors handled? If each note has its own color and can be configured on a per note basis, maybe that already hints that we might actually want to store the zoom level on a per note basis as well.

Then the only preference I would then add is the default font size/zoom level for new notes.

Does that make sense? πŸ€”

vixalien commented 1 year ago

yep that makes sense, but it will be zoom level (or font scale) rather than absolute font size (say 10 px) for obvious reasons..

then we'll have 2 options:

  1. default font scale (will be applied to new notes)
  2. each note will be able to have a different font scale

Le ven. 24 mars 2023, 18:19, Gil Forcada Codinachs @.***> a Γ©crit :

Not sure if a preference is enough, a sane default should be good enough πŸ€“ getting that one might be difficult though πŸ˜“

What's the primary use case of sticky? To have several notes shown at the same time? How are colors handled? If each note has its own color and can be configured on a per note basis, maybe that already hints that we might actually want to store the zoom level on a per note basis as well.

Then the only preference I would then add is the default font size/zoom level for new notes.

Does that make sense? πŸ€”

β€” Reply to this email directly, view it on GitHub https://github.com/vixalien/sticky/issues/17#issuecomment-1483072001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJB5FCN7M74PZ6QWHSND4WLW5XCRZANCNFSM6AAAAAAVPYL27I . You are receiving this because you commented.Message ID: @.***>

VaZark commented 1 year ago

I'm not sure how the text formatting is handled, but adding markdown support might fix most formatting issues/requests

vixalien commented 1 year ago

Note that zooming has is not related at all to what storage backend sticky uses.

Text formatting is handled by Gtk.TextView, I just added a convenience structure that can save/restore Gtk.TextTag's (think bold, underline etc) inside the TextView.

Markdown will be nice to have, but I currently do not have the time to implement such a huge change.

Also note that when/if markdown is implemented, you won't be able to edit your markdown files in sticky and sticky will never show you any markdown, it will work the same way as it does right now (WYSIWG) and just store the notes in markdown files.