refactor(ui): unify text and close button in ListSettingsModalView
This commit is contained in:
@@ -105,11 +105,8 @@
|
|||||||
<ComboBox.ItemTemplate>
|
<ComboBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock Text="{Binding Name}"
|
<TextBlock Classes="title" Text="{Binding Name}"/>
|
||||||
Foreground="{DynamicResource TextBrush}"/>
|
<TextBlock Classes="meta" Text="{Binding Description}"/>
|
||||||
<TextBlock Text="{Binding Description}"
|
|
||||||
Foreground="{DynamicResource TextMuteBrush}"
|
|
||||||
FontSize="{StaticResource FontSizeMono}" />
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
@@ -117,10 +114,7 @@
|
|||||||
<Button Grid.Column="1" Content="Browse..."
|
<Button Grid.Column="1" Content="Browse..."
|
||||||
Margin="8,0,0,0" Click="BrowseAgentClicked" />
|
Margin="8,0,0,0" Click="BrowseAgentClicked" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<TextBlock Text="{Binding SelectedAgent.Path}"
|
<TextBlock Classes="path-mono" Text="{Binding SelectedAgent.Path}"
|
||||||
FontFamily="{DynamicResource MonoFont}"
|
|
||||||
FontSize="{StaticResource FontSizeMono}"
|
|
||||||
Foreground="{DynamicResource TextFaintBrush}"
|
|
||||||
TextTrimming="PrefixCharacterEllipsis"
|
TextTrimming="PrefixCharacterEllipsis"
|
||||||
IsVisible="{Binding SelectedAgent.Path, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
IsVisible="{Binding SelectedAgent.Path, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|||||||
Reference in New Issue
Block a user