# TASK 61 — The geometry fields share one fixed width **Status:** ✅ Done — shipped 2026-10-21. ## What it is The creator (2026-10-21), on Live → Layers → webcam → Properties → **Geometry**: > the Y and H boxes under webcam properties should be the same width as the X and W boxes > and those widths should be fixed to accomodate the max number of possible digits > providing the geometry values ## Why they looked different The row is a `DockPanel`: ``` [X label][X field][ Y label][Y field] ``` A WPF element **sizes itself to its content** unless it is told otherwise, and in a `DockPanel` the **last child fills the remaining space**. So the X/W fields (not last) were as wide as their text ("1920" ≈ 34px) while the Y/H fields (last) stretched to the full width of the row — two different widths for the same kind of field. ## The fix - **All four fields carry the same explicit `Width="44"`** — wide enough for the largest geometry value (the master frame is 1920×1080 → four digits) **plus a sign** the creator may be typing, and no wider. - **The rows set `LastChildFill="False"`** — otherwise the last field would still stretch to the row's width regardless of its own `Width`. 44px = the measured width of `-1920` in the app's font at 11px (≈28px) + the field's padding (8) + its border (2) + slack. ## The test `ytLive.Tests/GeometryFieldWidthTests.cs` — the ONE test for this change: the four fields carry the same **explicit** width (no field sizes itself to its content), and that width really fits the widest value — measured with WPF's `FormattedText` in the app's own font (`SystemFonts.MessageFontFamily`) at the field's 11px, plus the padding and border. ## Not done (out of scope, noted in `HANDOFF.md`) The **web source** block's geometry rows (`Controls/LeftPanel.xaml`, the `SelectedElement.IsWebSource` panel) have the identical shape and the identical defect — same fix, one line each, when the creator wants it.