mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 11:16:25 +00:00
In a window narrower than a popup list's rows (Add New Effect, Tracing Presets and the other lists built on menu_scroll), the list kept its rows at full width and the popup ran past the window's right edge. The list is now no wider than the window allows; a row that does not fit ends in an ellipsis and shows its full text in a tooltip, dimmed rows included. Screen readers and clicks still use the row's full text. Menus that ask for a minimum width (the menu bar's 230 pt, submenus and context menus) take the window's width when it is less, through menu_min_width. The long-popup tests now check that the popup ends inside the window, and a new test covers a shortened row's tooltip, screen-reader name and click.