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
Describe the bug
There is a default theme for ContentControl, but not for HeaderedContentControl.
To Reproduce
Create a in XAML
Nothing appear in the view, because there is no default theme.
Expected behavior
I would like to have a default theme for HeaderedContentControl that look like the Header of many controls in UWP (Slider, TextBox, etc...) so that I can quickly add Headers to Avalonia Controls out of the box without the need to create my own theme.
Ideally, the header should have normal and disabled state (Grayed Header foreground), TopHeaderMargin such as 0,0,0,8 by default, and might have a different Margin in case the content is a Slider (for example) if the default margin do not look good with Slider (just an example, I know that UWP may have different margin for special cases).
The text was updated successfully, but these errors were encountered:
Yes, but with no explanation why this control do not have a template at all. It is not a problem in any way, but I just do not see any cons of adding a theme for that control that would look like headered control of WinUI/UWP or WPF.
As a user, that look strange the first time you add it in XAML and nothing happen. I had to look at the code of Fluent theme to figure out why... It is supposed to display the content with a header. It is really useful.
Describe the bug
There is a default theme for ContentControl, but not for HeaderedContentControl.
To Reproduce
Expected behavior
I would like to have a default theme for HeaderedContentControl that look like the Header of many controls in UWP (Slider, TextBox, etc...) so that I can quickly add Headers to Avalonia Controls out of the box without the need to create my own theme.
Ideally, the header should have normal and disabled state (Grayed Header foreground), TopHeaderMargin such as 0,0,0,8 by default, and might have a different Margin in case the content is a Slider (for example) if the default margin do not look good with Slider (just an example, I know that UWP may have different margin for special cases).
The text was updated successfully, but these errors were encountered: