013c7739a14addd2be41265e003704b8d71416e9
The left panel was a plain fixed-width widget sized by the window, so once the Scan Info notes grew past the window height Qt compressed every control below its minimum: the DC threshold spin box was sliced in half, the ADC hint collided with it, and the cache note was cut off mid-line. Word-wrapped labels made it worse by advertising a single-line minimum height, which clipped the filename and the format/cache notes. - Put both side panels in fixed-width QScrollAreas so a short window scrolls instead of crushing the controls. - Add _wrap_label(), which enables height-for-width so wrapped labels report their real height; use it for the filename, Scan Info rows, format/cache notes, DC-precompute status, ADC hint and ROI readouts. - Replace the ad-hoc QHBoxLayout label/field rows with a shared QFormLayout (Angle, Channel, DC threshold, Grating size, Colormap, min, max) so labels align and fields keep a usable minimum width. - Add _group() for consistent group-box margins; widen the left column 260 -> 288 px so the channel combo and checkbox text stop eliding. - Keep the canvases usable: non-collapsible splitter, minimum canvas heights and a 960x560 window minimum. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
Languages
Python
91.6%
HTML
8.4%