Skip to content

Show the portrait dialog screenshot at the landscape one's proportions - #361

Merged
smelfungus merged 1 commit into
masterfrom
dialog-screenshot-size
Sep 27, 2026
Merged

smelfungus merged 1 commit into
masterfrom
dialog-screenshot-size

Conversation

@smelfungus

Copy link
Copy Markdown
Member

The README's two dialog screenshots had different shapes: the landscape one across the column, the portrait one narrow and tall. The portrait dialog is now rendered at a phone's width on a canvas in the landscape screenshot's 32:15 proportion (2048 × 960 dp beside 1280 × 600), so both span the column at one height and differ only in the dialog's layout. Builds on #360.

The dialog is pinned to 392 dp, a 440 dp phone less its dialog window's margins: on a canvas that wide it would otherwise take Material's 560 dp. The reference's file name carries a hash of the preview's size, so it is renamed; with its content wholly new, git shows the rename as a delete and an add.

The two dialog screenshots sat one above the other in the README at different shapes: the landscape one across the column, the portrait one narrow and tall. The portrait dialog is now rendered at a phone's width on a canvas in the landscape screenshot's 32:15 proportion, so both span the column at one height and differ only in the dialog's layout. Pinned to 392 dp, a 440 dp phone less its dialog window's margins, since on so wide a canvas the dialog would otherwise take Material's 560 dp.
@smelfungus
smelfungus merged commit 48f9080 into master Sep 27, 2026
2 checks passed
@smelfungus
smelfungus deleted the dialog-screenshot-size branch September 27, 2026 03:09
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