mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-28 03:58:45 -06:00
A resizable egui panel stores the width its content used at the end of every frame and starts the next frame there, so a row wider than the panel widens it on every repaint (any pointer move) until it reaches 520 px. - Bookmarks: the search row reserved 32 px for an 8 px gap and a 26 px clear button, overflowing by 2 px. The field now reserves the button's size plus the theme's item spacing. - Comments: the reply row reserved 56 px for the gap and "Post", which only fits English. The field now fills its line and Post sits right-aligned under it, keeping the field first in Tab order. - Tests read egui's PanelState and hold each panel's width across 30 repaints (Bookmarks with a bookmark; Comments with a reply open in Russian with Post hovered). On main they grow 358 → 418 and to 520 px. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>