You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProgressBar sizes its indicators from the full layout-root width minus Padding only. BorderThickness is ignored, so a bar with a horizontal border overshoots its track: at 100% the determinate indicator is as wide as the whole control.
The port also diverges from WinUI in a few related ways:
The indeterminate indicators use 40%/60% of the full width instead of the content width.
Toggling ShowPaused/ShowError on an indeterminate bar changes the visual state but doesn't resize the second indicator to 100%.
A collapsed indeterminate bar stays in its indeterminate visual states.
ProgressBarAutomationPeer's IRangeValueProvider.SetValue throws ElementNotEnabledException instead of setting Value.
The port's header claims winui3/release/1.7-stable, but SetProgressBarIndicatorWidth predates WinUI 1.5.5.
Expected behavior 🎯
Match WinUI (winui3/release/2.5.1): subtract the layout-rounded BorderThickness plus Padding (clamped at 0), fall back to a 1.0 scale when XamlRoot is null, resize the indicators on ShowPaused/ShowError changes, use determinate states when not visible, and let the peer set Value.
How to reproduce it (as minimally and precisely as possible) 🔬
Activity