Skip to content

Commit

Permalink
Improve layout of xaml dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
lhecker committed Jun 6, 2022
1 parent 89b4739 commit d754068
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions src/cascadia/TerminalSettingsEditor/Launch.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

<Grid.RowDefinitions>
<!-- profile name -->
<RowDefinition Height="*" />
<RowDefinition Height="20" />
<!-- author and version -->
<RowDefinition Height="*" />
</Grid.RowDefinitions>
Expand All @@ -110,19 +110,24 @@
Grid.Column="1"
Grid.ColumnSpan="2"
AutomationProperties.AccessibilityView="Raw"
Height="20"
Text="{x:Bind Name}" />

<TextBlock Grid.Row="1"
Grid.Column="1"
AutomationProperties.AccessibilityView="Raw"
Style="{ThemeResource SecondaryTextBlockStyle}"
Text="{x:Bind Author}" />
Text="{x:Bind Author}"
Height="20"
Visibility="{x:Bind local:Converters.StringNotEmptyToVisibility(Author)}" />

<TextBlock Grid.Row="1"
Grid.Column="2"
AutomationProperties.AccessibilityView="Raw"
Style="{ThemeResource SecondaryTextBlockStyle}"
Text="{x:Bind Version}" />
Text="{x:Bind Version}"
Height="20"
Visibility="{x:Bind local:Converters.StringNotEmptyToVisibility(Version)}" />

</Grid>
</DataTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
<comment>A command to clear the part of the buffer above the viewport</comment>
</data>
<data name="DefaultWindowsConsoleAuthor" xml:space="preserve">
<value>Microsoft Corporation</value>
<value></value>
<comment>Paired with `DefaultWindowsConsoleName`, this is the application author... which is us: Microsoft.</comment>
</data>
<data name="DefaultWindowsConsoleName" xml:space="preserve">
Expand Down

0 comments on commit d754068

Please sign in to comment.