mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-20 17:37:10 +01:00
A dialog taller than the app window was drawn past its top and bottom edges, with no scroll bar, so its first options and its buttons could not be reached. At 1024 by 480 this happened to SVG, EPS and DXF Options, Save PDF, Save for Web, Export for Screens, Print, Preferences, Keyboard Shortcuts, New Document and Find Font. - The body of a shared dialog scrolls while the dialog would be taller than the window, and its heading and buttons stay in view. - A dialog window without such a body (Preferences, Keyboard Shortcuts, New Document, Find Font) scrolls as a whole while it is taller or wider than the window, at the 800 by 500 minimum window size too. - Dialogs that already size their lists from the window's height (Character and Paragraph Style Options, the Color Picker, Import Shortcut Set and the dialogs that use scrolled_rows) are not scrolled again. - A dialog that is closed and opened again starts at its top, for its scrolling body, its scrolled_rows and the window as a whole, instead of where it was left. - Save for Web in a window narrower than its full layout (800 pt, the smallest window) draws its preview panes narrower, down to 240 pt, so the settings column and the buttons stay in view instead of scrolling off to the side. - A field being edited keeps its text and focus when the window is resized so that the dialog starts or stops scrolling: its contents keep their ids either way. Tests: the Save for Web settings and the Print sections show their bar at rest; the export option dialogs at 1024 by 480 stay on screen with their buttons in view and their bar drawn; Preferences, Keyboard Shortcuts, New Document and Find Font at 800 by 500 stay on screen with their bar drawn; Save for Web at 800 by 500 shows its settings and buttons and no sideways bar; a modal window scrolled with the wheel opens again at its top, both when it scrolls as a whole and when its rows scroll; a field keeps its id when the body or the window starts or stops scrolling. The Print test that types into Scale W picks W as the leftmost of the matching fields, since the accessibility tree lists its nodes in no particular order.