telegram icon indicating copy to clipboard operation
telegram copied to clipboard

Create a setting to make stickers look smaller in the chat window (200px -> 40px)

Open hatarist opened this issue 9 years ago • 5 comments

This is my (real bad) implementation of the issue #154.

It adds an option in the general settings view and its value is a bitwise operation of 2 << 29 (the next after HandleMediaKeysSettings). I wasn't sure why you started shifting from 1 to 2 so I kept it.

It also, obviously, isn't the best way to implement that option with the maximum sticker size hard-coded in every blockSize assignment, but I suck at Objective-C and am not sure I'd do it better without having a lot of time to spend.

The downside is you can't zoom it; I guess the more user-friendly thing would be to make it zoom like an image (perhaps with a full-screen dimmed overlay) on mouse click; the user would still have an option to view all stickers in the stickerset by calling the context menu.

It looks like that: stickers3

Feel free to ditch it, just wanted to share with whomever is interested.

Thanks for the awesome project, I've been using it for years. <3


P.S.: I also managed to keep stickers from being shown completely and displaying emoji characters instead, like in the conversations list, but I guess it's not worth a separate pull request. See https://github.com/hatarist/telegram/commit/071fcabebf1fb9b737eabefc5d6ee5bac4399d11

hatarist avatar Apr 27 '16 20:04 hatarist

That one's great, i'll definitely use it if will be merged.

tartakovsky avatar Apr 30 '16 11:04 tartakovsky

+1

sirian avatar May 13 '16 15:05 sirian

40x40 is a very smal size. i think 100x100 normal.

overtake avatar May 14 '16 08:05 overtake

Sure, if it works out for you guys! At first I actually wanted to get rid of the stickers completely :) Thanks for your time!

hatarist avatar May 14 '16 08:05 hatarist

The size of the stickers could also be a slider perhaps? I can imagine people with large screens might want something in between those 2 sizes

antonsteenvoorden avatar May 16 '17 14:05 antonsteenvoorden