Skip to content

Update all pixel specifications to 'density independent'#14

Open
dreamlibrarian wants to merge 1 commit into
qixils:minecraftfrom
dreamlibrarian:minecraft-dp
Open

Update all pixel specifications to 'density independent'#14
dreamlibrarian wants to merge 1 commit into
qixils:minecraftfrom
dreamlibrarian:minecraft-dp

Conversation

@dreamlibrarian

Copy link
Copy Markdown

Running on mac, I get some interestingly trimmed textboxes.

After digging around looks like forcing 'density-independent pixels' for all the heights and padding looks good to me.

before:

Image

after:

Image

Not attached to this implementation, just hoping it might help!

On Mac at least the default true-pixel logic that kivy uses results in
half-height text boxes and cramped layout.

Adding dp() calls everywhere appears to make Mac look good (though I'd
recommend checking windows for new weirdnesses.).

... dp(0) feels bizarre, but I kept it in case of yaml-like parsing shenanigans
and to remind future updates.
@dreamlibrarian dreamlibrarian requested a review from qixils as a code owner March 23, 2026 03:07
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