Skip to content

Add large sticker preview setting#30873

Open
vitaly-zdanevich wants to merge 1 commit into
telegramdesktop:devfrom
vitaly-zdanevich:large-sticker-preview-setting
Open

Add large sticker preview setting#30873
vitaly-zdanevich wants to merge 1 commit into
telegramdesktop:devfrom
vitaly-zdanevich:large-sticker-preview-setting

Conversation

@vitaly-zdanevich

@vitaly-zdanevich vitaly-zdanevich commented Jun 24, 2026

Copy link
Copy Markdown

Summary

Add a Large sticker previews checkbox in Settings > Chat Settings > Stickers and emoji.

When enabled, sticker set preview boxes use larger sticker media, larger cells, and adaptive dimensions so more screen space is used on larger displays. The default compact preview remains unchanged until the user opts in.

Details

  • Store the option as an app-level pref instead of inserting a new field into the settings stream.
  • Add the option to settings search with checked/unchecked state.
  • Keep compact previews using the existing small sticker media and dimensions.
  • Use 95% of available width/height for large sticker previews, with a 5-column floor on 1200px-wide displays.

Dependency

Depends on desktop-app/lib_ui#310 for recentering resized box layers after screen/display changes.

Validation

Built Telegram Desktop Debug:

docker run --rm -u 1001:1003 -v /home/vitaly/p/tdesktop:/usr/src/tdesktop -e CONFIG=Debug tdesktop:centos_env cmake --build /usr/src/tdesktop/out --config Debug --target Telegram

git diff --check passed for the touched files.

Off by default.

image 2026jun24-09-30-38_maim

Let users opt in to larger sticker set previews and adaptive dialog sizing while keeping compact previews as the default.

Depends on desktop-app/lib_ui#310 for recentering resized box layers after screen changes.

Co-authored-by: OpenAI ChatGPT <noreply@openai.com>
@vitaly-zdanevich vitaly-zdanevich marked this pull request as ready for review June 24, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant