-
Notifications
You must be signed in to change notification settings - Fork 1.4k
SettingsCard Header ugly behavior when shrinking horizontally #5023
Unanswered
Jay-o-Way
asked this question in
Questions & Help
-
Note the following facts
- SettingsCardWrapThreshold might never be reached because the minimum width of the window
- there is no minimum width for PART_HeaderPresenter
- HeaderPanel uses
<ColumnDefinition Width="*" />while the other columns use Auto. - PART_ContentPresenter has no TextWrapping property, the header and description do
Therefore the header will always give way to the content, even if you set wrapping on a textblock in the content.
This combination can lead to very ugly resizing behavior. See:
What can be a solution?
- Most basic: set a minimum width on the header. But then, the header might be shorter than this minimum width...
- (and/or) Add TextWrapping to the content. But then ColumnWidth
*will still always give way toAuto. So it wouldn't fix it?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment