refactor(ui): normalize buttons/footer/padding in ListSettingsModal
This commit is contained in:
@@ -20,11 +20,11 @@
|
|||||||
|
|
||||||
<ctl:ModalShell Title="LIST SETTINGS" CloseCommand="{Binding CancelCommand}">
|
<ctl:ModalShell Title="LIST SETTINGS" CloseCommand="{Binding CancelCommand}">
|
||||||
<ctl:ModalShell.Footer>
|
<ctl:ModalShell.Footer>
|
||||||
<Grid ColumnDefinitions="Auto,*,Auto" VerticalAlignment="Center" Margin="16,0">
|
<Grid ColumnDefinitions="Auto,*,Auto" VerticalAlignment="Center">
|
||||||
<Button Grid.Column="0" Content="Delete list" Classes="danger"
|
<Button Grid.Column="0" Content="Delete list" Classes="danger"
|
||||||
Command="{Binding DeleteCommand}" MinWidth="90"/>
|
Command="{Binding DeleteCommand}" MinWidth="90"/>
|
||||||
<StackPanel Grid.Column="2" Orientation="Horizontal" Spacing="8">
|
<StackPanel Grid.Column="2" Orientation="Horizontal" Spacing="8">
|
||||||
<Button Content="Cancel" Command="{Binding CancelCommand}" MinWidth="90"/>
|
<Button Classes="btn" Content="Cancel" Command="{Binding CancelCommand}" MinWidth="90"/>
|
||||||
<Button Content="Save" Classes="primary" Command="{Binding SaveCommand}" MinWidth="90"/>
|
<Button Content="Save" Classes="primary" Command="{Binding SaveCommand}" MinWidth="90"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
<!-- Body -->
|
<!-- Body -->
|
||||||
<ScrollViewer Padding="20,16">
|
<ScrollViewer Padding="20,16">
|
||||||
<StackPanel Spacing="18">
|
<StackPanel Spacing="12">
|
||||||
|
|
||||||
<!-- GENERAL -->
|
<!-- GENERAL -->
|
||||||
<StackPanel Spacing="0">
|
<StackPanel Spacing="0">
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
<TextBlock Classes="field-label" Text="Working directory"/>
|
<TextBlock Classes="field-label" Text="Working directory"/>
|
||||||
<Grid ColumnDefinitions="*,Auto">
|
<Grid ColumnDefinitions="*,Auto">
|
||||||
<TextBox Grid.Column="0" Text="{Binding WorkingDir}" PlaceholderText="(none)" />
|
<TextBox Grid.Column="0" Text="{Binding WorkingDir}" PlaceholderText="(none)" />
|
||||||
<Button Grid.Column="1" Content="Browse..." Margin="8,0,0,0" Click="BrowseClicked" />
|
<Button Classes="btn" Grid.Column="1" Content="Browse..." Margin="8,0,0,0" Click="BrowseClicked" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
<StackPanel Spacing="0">
|
<StackPanel Spacing="0">
|
||||||
<Grid ColumnDefinitions="*,Auto" Margin="4,0,0,6">
|
<Grid ColumnDefinitions="*,Auto" Margin="4,0,0,6">
|
||||||
<TextBlock Classes="section-label" Text="AGENT" Margin="0"/>
|
<TextBlock Classes="section-label" Text="AGENT" Margin="0"/>
|
||||||
<Button Grid.Column="1" Content="Reset agent settings"
|
<Button Classes="btn" Grid.Column="1" Content="Reset agent settings"
|
||||||
Command="{Binding ResetAgentSettingsCommand}" />
|
Command="{Binding ResetAgentSettingsCommand}" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Border Classes="section">
|
<Border Classes="section">
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
<Button Grid.Column="1" Content="Browse..."
|
<Button Classes="btn" Grid.Column="1" Content="Browse..."
|
||||||
Margin="8,0,0,0" Click="BrowseAgentClicked" />
|
Margin="8,0,0,0" Click="BrowseAgentClicked" />
|
||||||
</Grid>
|
</Grid>
|
||||||
<TextBlock Classes="path-mono" Text="{Binding SelectedAgent.Path}"
|
<TextBlock Classes="path-mono" Text="{Binding SelectedAgent.Path}"
|
||||||
|
|||||||
Reference in New Issue
Block a user