You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dialogs: about 10% taller, with slightly taller push buttons kept aligned #810
Linux (jamming) captures of EEGLAB and EEGPrep from the November 28 run are added below, directly visible, by the EEGPrep worker. Fix nothing here before Arno says so, unless this issue is the one test fix named in its summary.
Arno's words
Arno's feedback of November 28, 2026 on the File and Edit comparison report (EEGLAB_vs_EEGPrep_File_and_Edit.pdf, run file-edit-native-2026-11-28 in adelorme-assistant/project_eegprep/reports).
I would push the height of the Python GUI by about 10% to make it a little bit more spacious. Also, the height of the push button should be a little bit more for aesthetics while remaining aligned.
Read issue, check actionability and overlapping work
Implementation: not started, on hold (see below)
Why no PR: the issue says "Fix nothing here before Arno says so". Open PR #776 (agent/20261127-fix-775, one row height per platform, sizes dialogs from their rows) also rewrites the same row-height code in qt.py and theme.py. A 10% height change landed now would conflict with #776 and would need re-tuning after it merges. The change also affects every dialog, so it needs visual parity captures. It is not a small, isolated fix.
Research
Dialog height comes from the height of each row, plus spec.size pixel heights in the 61 dialogs that rule 26 flags (#745). Push-button height comes from _apply_button_size. When no button_size is given, it fixes only the width (80 px), so buttons get their height from the Qt style's size hint.
Give push buttons a fixed height a few px above the style hint, both in _apply_button_size and for pushbutton widgets inside rows. Keep it no taller than the row so buttons stay centred on their row.
Check the result with the visual parity loop on the File and Edit dialogs.
Dialogs that still set a pixel height through size (rule 26) will not grow until they are converted under #745.
Needed to proceed: Arno's go-ahead, and #776 merged or closed.
🤖 Ordinary form rows grew from 31 to 34 pixels on Linux. Push buttons grew from 20 to 22 pixels and remain vertically aligned. The row count, font, and content now set the initial height, including scrollable forms and multiline editors.
On 40 File and Edit windows the median total-height change was +6.45%. Removing old preset heights made Select data 404 → 342 px, Copy dataset 160 → 138 px, and Channel editor 900 → 866 px. The sample comments opened at 456 px instead of 840 px and grow with longer text. A long task-information form grew from 408 to 920 px on the large test display. All 40 before/after measurements · All 120 native captures arranged by dialog.
Verification
167 GUI and affected-function tests passed, with one MATLAB-dependent test skipped, 33 deselected and 112 subtests passing. A separate complete dialog/main-window run passed 147 tests. Ruff, ty and pre-commit passed. All 40 corresponding MATLAB windows and both EEGPrep revisions were captured on jamming under Xvfb. The combined #821 renderer passed 18 checks. The test integration with #835 passed 13 checks. The shared minimum and native-font pitch measurements are independent. Comparing the two equivalent row formulas across 200,000 control-height and spacing combinations produced identical pixels. A fresh virtual integration of #835 selected both final source and test files automatically.
Activity
claude commentedon Nov 28, 2026
🤖 Plan:
Why no PR: the issue says "Fix nothing here before Arno says so". Open PR #776 (
agent/20261127-fix-775, one row height per platform, sizes dialogs from their rows) also rewrites the same row-height code inqt.pyandtheme.py. A 10% height change landed now would conflict with #776 and would need re-tuning after it merges. The change also affects every dialog, so it needs visual parity captures. It is not a small, isolated fix.Research
Dialog height comes from the height of each row, plus
spec.sizepixel heights in the 61 dialogs that rule 26 flags (#745). Push-button height comes from_apply_button_size. When nobutton_sizeis given, it fixes only the width (80 px), so buttons get their height from the Qt style's size hint.Relevant code
qt.py#L931-L942- row stretch / spacer row heightqt.py#L945-L986- OK/Cancel/Help button rowqt.py#L989-L995- button sizing (width only)theme.py#L78- stylesheet min-heightsProposed Fix
Do this after #776 merges and Arno approves:
_apply_button_sizeand forpushbuttonwidgets inside rows. Keep it no taller than the row so buttons stay centred on their row.Dialogs that still set a pixel height through
size(rule 26) will not grow until they are converted under #745.Needed to proceed: Arno's go-ahead, and #776 merged or closed.
arnodelorme commentedon Nov 29, 2026
🤖 Ordinary form rows grew from 31 to 34 pixels on Linux. Push buttons grew from 20 to 22 pixels and remain vertically aligned. The row count, font, and content now set the initial height, including scrollable forms and multiline editors.
Pull request #851.
Editable Word report · PDF report
On 40 File and Edit windows the median total-height change was +6.45%. Removing old preset heights made Select data 404 → 342 px, Copy dataset 160 → 138 px, and Channel editor 900 → 866 px. The sample comments opened at 456 px instead of 840 px and grow with longer text. A long task-information form grew from 408 to 920 px on the large test display. All 40 before/after measurements · All 120 native captures arranged by dialog.
Verification
167 GUI and affected-function tests passed, with one MATLAB-dependent test skipped, 33 deselected and 112 subtests passing. A separate complete dialog/main-window run passed 147 tests. Ruff, ty and pre-commit passed. All 40 corresponding MATLAB windows and both EEGPrep revisions were captured on jamming under Xvfb. The combined #821 renderer passed 18 checks. The test integration with #835 passed 13 checks. The shared minimum and native-font pitch measurements are independent. Comparing the two equivalent row formulas across 200,000 control-height and spacing combinations produced identical pixels. A fresh virtual integration of #835 selected both final source and test files automatically.
— EEGPrep worker (Codex)
[GUI] Taller dialog rows and buttons (#851)