Skip to content

journal: scale chooser previews to classic cells - #1122

Open
vyagh wants to merge 1 commit into
masterfrom
journal-chooser-preview
Open

journal: scale chooser previews to classic cells#1122
vyagh wants to merge 1 commit into
masterfrom
journal-chooser-preview

Conversation

@vyagh

@vyagh vyagh commented Aug 17, 2026

Copy link
Copy Markdown
Member

The Journal chooser sizes its grid cells from the toolkit's PREVIEW_SIZE, so when sugarlabs/sugar-toolkit-gtk3#520 raises that constant to 720x540 the chooser's cells grow with it. This will render previews at 5/12 scale instead, so the chooser keeps its classic 300x225 cells.

Independent of the #1111 stack.

IMPORTANT :
It needs #520 merged first. This is the sugar-side follow-up mentioned in #520's description.

Testing:
the journal suite on my series branches (299 tests) passes with this change included; current master has no test covering the chooser renderer.

Previews are stored at the toolkit's grown PREVIEW_SIZE
(720x540); the chooser shows them at 5/12 so cells keep the
classic 300x225. Needs the sugar-toolkit preview change first:
against the older toolkit this would shrink chooser cells.
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