Repository navigation
[GUI] Lay out checkboxes and radio buttons by their widget rect - #774
Conversation
The macOS style reserves a larger layout rect for checkboxes and radio buttons, making checkbox rows taller than edit rows and shifting the box 2 px left. Fusion/Linux rendering is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
Claude finished @claude[bot]'s task in 34s —— View job Code review
BlockingNone. ImportantNone. NitsNone. Test gapsNone. The PR says no automated test can see this change, and that holds. CI draws dialogs with the Fusion style, and EEGLAB parity notesNone. The change makes macOS checkbox and radio rows the same height as edit rows, and lines the box up with the column. That is closer to EEGLAB's supergui grid, so it helps parity. What I checked:
Checked for correctness bugs, EEGLAB parity, data structure compatibility, tests for the changed behaviour, and CLAUDE.md/AGENTS.md compliance. |
|
🤖 Captures: review: the change is the one of issue #772 and it is right. No commit added. Measured on all 127 dialog renderings: on Linux (jamming) nothing changes, with the native Mac style 31 dialogs change by a few pixels and four change size (pop_export 317 to 300 pixels high, pop_chanevent, pop_loadcnt 168 to 161, tf_cycle_calc 617 to 619 wide). This branch gives the same pictures as my own version, except one dialog whose text holds a temporary folder name. The Mac pictures were grabbed without showing a window. The check Ruff and ty fails because of develop itself (merge #766 first). pop_chanevent with the Mac style: develop, and with this pull request and #773 together |
Co-Authored-By: Claude Opus 5.5 <[email protected]>



Set Qt.WA_LayoutUsesWidgetRect on supergui checkboxes and radio buttons so the macOS style no longer makes checkbox rows taller than edit rows or starts the box 2 pixels left. Linux and Fusion rendering are unchanged, so no automated test can observe this; the evidence is the macOS before and after capture in #745.
Fixes #772
Part of #745
🤖 Generated with Claude Code