Feedback
TimePicker renders wider than inspector width
- Status
- Fixed
- Fixed in
- v26.5.4
- Source discussion
- https://forum.objo.dev/d/53-timepicker-width
- Last updated
- 2026-05-17
Public summary
The TimePicker control can render around 240 px wide even when the inspector shows Width = 120.
Reproducing:
- Add a
TimePickerto a window in Studio. - Leave its inspector width at the default 120.
- Add a 240 px wide
Buttonbeside it for comparison. - Observe that the
TimePickervisually renders about the same width as the 240 pxButton.
Expected:
The TimePicker should render at the width shown in the inspector.
Actual:
The TimePicker inspector/model width is 120, but Avalonia’s Fluent theme minimum width causes it to lay out at about 242 px. This also makes resizing feel wrong because the visual bounds do not match the stored designer width.