-
-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
Description
Is your feature request related to a problem? Please describe.
<RadioButton
Grid.Row="1"
Grid.Column="1"
GroupName="MyOptions"
IsChecked="{Binding Foo}"
>
My label
</RadioButton>
<SomeOtherExample
attribute="value"
/>The alignment of > and "My label" is confusing. The text is nested within the element, it should be visually distinct with indentation.
Describe the solution you'd like
> and /> should be aligned with the < when they are on separate lines. > is more closely related to the < as a markup for the element, than it is to the attributes.
<RadioButton
Grid.Row="1"
Grid.Column="1"
GroupName="MyOptions"
IsChecked="{Binding Foo}"
>
My label
</RadioButton>
<SomeOtherExample
attribute="value"
/>This visually separates the attributes with the content.
Describe alternatives you've considered
Forcing prettier to format xaml by telling it its HTML, but I don't trust that this won't break some xaml-isms that don't quite match HTML.