mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Artboard Options showed Name, Width and Height only: the generic form hides x and y, which in the shape dialogs are the click position. The artboard's position could be dragged but not typed. The dialog now draws its own rows after the form's, in the same grid: the reference point locator the Transform panel, the Control bar and Properties share, then X and Y. They show where the reference point lies, counted from the ruler origin (#1212), as the Transform panel and the Control bar show an artboard's position. A typed X or Y moves the artboard so that its reference point lands there, and a new Width or Height keeps the reference point in place. The fields still hold the top-left corner in document points, so OK runs artboard.setProps as before, in one undo step. The shape dialogs keep their x and y hidden. form::grid_then lets a dialog add rows to the generic grid.