racket/gui: Multi-line message% fields add extra space on the bottom on Windows.
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
This Racket application ...
#lang racket/gui
(define the-dialog
(new dialog% [label "quux"]))
(new message%
[label "Es\nwar\neinmal\nvor\nlanger\nZeit"]
[parent the-dialog])
(send the-dialog show #t)
... gives different results on Windows and OpenBSD.
The OpenBSD version (not supplied by me) looks like this ("as expected", one could say):

On Windows, there are additional spaces, one more with every line of text:

One of them is probably wrong.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided #lang racket/gui example on Windows and OpenBSD, then compare the multi-line message% layout shown in the linked screenshots. Trace the message% layout behavior that produces the extra bottom spacing on Windows. Done means the sample no longer adds one extra space per line and remains consistent with the expected layout.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100