maqetta/maqetta — Issue #1501: Nested object snapping is off by border-width of container widget
Author: JonFerraiolo
Created: 2012-01-08 15:32:13+00:00
State: open
Labels: Priority Med, Visual Editor

* New HTML File - desktop hi-fi sketch
* Drag out a DIV. Note that by default the DIV does not have a border
* Drag out two TextBox widgets and drop into the DIV
* Select one of the TextBox widgets and drag it until the left edge of the dragged widget aligns with left edge of other widget. Mouse Up

Result=> (goodness) The left edges snap correctly

* Select the DIV, set border to 3px solid black
* Select then drag one of the TextBox widgets so that it is no longer horizontally aligned with other TextBox
* Select then drag one of the TextBox widgets and drag it until the left edge of the dragged widget aligns with left edge of other widget. Mouse Up

Result=> (bug) The left edge snaps 3px off, down and to the right