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
When using SizeToContent="Width" (or WidthAndHeight) the caption in the window title bar can appear offset to the right, in some cases overlapping with the minimise/maximise/close buttons. The problem corrects itself if you manually resize the window (just clicking the resize border is enough).
This is a screenshot of our application's title bar, before & after resize:
I can also reproduce this in the showcase application (committed changes to branch 1d39771) although it's not as obvious:
@batzen I've just been checking this again and noticed I can still reproduce this issue in the current source, by maximising the window (by dragging the window to the top of the screen, other maximise methods are OK).
If I change RibbonWindow.OnStateChanged to call Measure & Arrange (in the same way as you have in OnLoaded) then it seems to be OK.
Doing that only partially fixes all issues.
When dragging to the side the window is still not resized, but that also does not happen with a regular WPF window...
When using SizeToContent="Width" (or WidthAndHeight) the caption in the window title bar can appear offset to the right, in some cases overlapping with the minimise/maximise/close buttons. The problem corrects itself if you manually resize the window (just clicking the resize border is enough).
This is a screenshot of our application's title bar, before & after resize:
I can also reproduce this in the showcase application (committed changes to branch 1d39771) although it's not as obvious:
Environment
The text was updated successfully, but these errors were encountered: