8000 Enable Builds and Alternative Resolutions by jmahmood · Pull Request #31 · jmahmood/CardBrick · GitHub
[go: up one dir, main page]

Skip to content

Enable Builds and Alternative Resolutions - #31

Merged
jmahmood merged 3 commits into
masterfrom
claude/trimui-brick-1024x768-3eeksl
Jul 8, 2026
Merged

jmahmood merged 3 commits into
masterfrom
claude/trimui-brick-1024x768-3eeksl

Conversation

@jmahmood
@jmahmood jmahmood commented Jul 8, 2026
Copy link
Copy Markdown
Owner

Enabling different resolutions for different handheld devices.

I've tested now with the RGB30, Trim UI Brick, 35XX Plus and 34XX SP

claude and others added 3 commits July 8, 2026 18:44
Add the TrimUI Brick's 1024x768 panel to NATIVE_FULLSCREEN_SIZES so
fullscreen on that device uses the full panel as the logical canvas,
instead of a 640x480 canvas letterboxed at 1x in the middle of the
screen.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GEZu8Ntc8MaursMWzKVWcD
The Brick's 1024x768 panel is exactly 1.6x the 640x480 logical canvas
and shares its 4:3 aspect ratio, but the default integer_scaling
setting floored that to 1x, leaving the UI tiny with huge black
borders. Detect when the display's aspect ratio exactly matches the
canvas (no cropping/distortion risk) and scale to fill it exactly,
even though 1.6x isn't a whole number, instead of treating the Brick
as a native-resolution panel with unscaled (and much smaller) UI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GEZu8Ntc8MaursMWzKVWcD
@jmahmood
jmahmood merged commit 3c35486 into master Jul 8, 2026
4 checks passed
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.

2 participants

0