mirror of
https://github.com/rmcrackan/Libation.git
synced 2025-12-23 22:17:52 -05:00
Improve button display size uniformity.
This commit is contained in:
@@ -84,6 +84,9 @@
|
||||
<Setter Property="Foreground" Value="{DynamicResource SystemChromeAltLowColor}" />
|
||||
</Style>
|
||||
</Style>
|
||||
<Style Selector="Button.SaveButton">
|
||||
<Setter Property="Padding" Value="30,6" />
|
||||
</Style>
|
||||
<Style Selector="ScrollBar">
|
||||
<!-- It's called AutoHide, but this is really the mouseover shrink/expand. -->
|
||||
<Setter Property="AllowAutoHide" Value="false"/>
|
||||
|
||||
@@ -412,7 +412,7 @@
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Content="Edit"
|
||||
Padding="30,0"
|
||||
Classes="SaveButton"
|
||||
Margin="10,0,0,0"
|
||||
VerticalAlignment="Stretch"
|
||||
Click="EditChapterTitleTemplateButton_Click" />
|
||||
|
||||
@@ -99,13 +99,12 @@
|
||||
|
||||
<Button
|
||||
Grid.Column="0"
|
||||
Padding="5,5"
|
||||
Content="Import from audible-cli"
|
||||
Click="ImportButton_Clicked" />
|
||||
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Padding="30,5"
|
||||
Classes="SaveButton"
|
||||
Content="Save"
|
||||
Click="SaveButton_Clicked" />
|
||||
</Grid>
|
||||
|
||||
@@ -140,7 +140,7 @@
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Content="Save"
|
||||
Padding="30,3,30,3"
|
||||
Classes="SaveButton"
|
||||
Click="SaveButton_Clicked" />
|
||||
</Grid>
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
Padding="30,5"
|
||||
Classes="SaveButton"
|
||||
Name="saveBtn"
|
||||
Content="Save"
|
||||
Command="{Binding SaveAndClose}" />
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<Button Grid.Row="1" Grid.Column="3" IsVisible="{Binding !EnvironmentIsWindows}" Command="{Binding Barebones}" CommandParameter="True" Content="Barebones" />
|
||||
|
||||
<Button Grid.RowSpan="2" Grid.Column="4" Command="{Binding Close}" Content="Cancel" />
|
||||
<Button Grid.RowSpan="2" Grid.Column="5" Padding="20,6" Command="{Binding SaveAndClose}" Content="Save" />
|
||||
<Button Grid.RowSpan="2" Grid.Column="5" Classes="SaveButton" Command="{Binding SaveAndClose}" Content="Save" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
Command="{Binding GoToNamingTemplateWiki}" />
|
||||
<Button
|
||||
Grid.Row="2"
|
||||
Padding="30,5,30,5"
|
||||
Classes="SaveButton"
|
||||
HorizontalAlignment="Right"
|
||||
Content="Save"
|
||||
Click="SaveButton_Click" />
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Right"
|
||||
Margin="5"
|
||||
Padding="30,3,30,3"
|
||||
Classes="SaveButton"
|
||||
Content="Save"
|
||||
Click="Save_Click" />
|
||||
</Grid>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<Button
|
||||
Grid.Row="1"
|
||||
Padding="30,5"
|
||||
Classes="SaveButton"
|
||||
Name="SaveButton"
|
||||
HorizontalAlignment="Right"
|
||||
Content="Save"
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Margin="10,0"
|
||||
Padding="30,5"
|
||||
Classes="SaveButton"
|
||||
VerticalAlignment="Stretch"
|
||||
HorizontalAlignment="Right"
|
||||
Content="Save"
|
||||
|
||||
@@ -102,7 +102,8 @@
|
||||
<Button
|
||||
Grid.Row="1"
|
||||
Margin="0,5,0,0"
|
||||
Padding="30,3,30,3" HorizontalAlignment="Right"
|
||||
Classes="SaveButton"
|
||||
HorizontalAlignment="Right"
|
||||
Content="Submit"
|
||||
Click="Submit_Click" />
|
||||
</Grid>
|
||||
|
||||
@@ -64,11 +64,10 @@
|
||||
|
||||
<Button
|
||||
Grid.Row="3"
|
||||
Height="30"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="10,10,10,10"
|
||||
Padding="30,3,30,3"
|
||||
Margin="10"
|
||||
Name="OkButton"
|
||||
Classes="SaveButton"
|
||||
Content="Ok"
|
||||
Click="OkButton_Clicked" />
|
||||
</Grid>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
<Button
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Padding="30,6"
|
||||
Classes="SaveButton"
|
||||
HorizontalAlignment="Right"
|
||||
Content="Import"
|
||||
Name="ImportButton"
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
Grid.Row="1"
|
||||
Margin="10"
|
||||
HorizontalAlignment="Right"
|
||||
Height="30"
|
||||
Padding="30,3,30,3"
|
||||
Classes="SaveButton"
|
||||
Content="Save"
|
||||
Name="saveBtn"
|
||||
Click="SaveButton_Clicked" />
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Margin="10,0,0,0"
|
||||
Padding="20,3"
|
||||
Classes="SaveButton"
|
||||
VerticalAlignment="Stretch"
|
||||
Content="Save"
|
||||
Command="{Binding SaveAndClose}"/>
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
RowDefinitions="*,Auto,Auto">
|
||||
<Grid.Styles>
|
||||
<Style Selector="Button">
|
||||
<Setter Property="Height" Value="30" />
|
||||
<Setter Property="Padding" Value="20,0" />
|
||||
<Setter Property="Padding" Value="20,6" />
|
||||
<Setter Property="Margin" Value="5" />
|
||||
</Style>
|
||||
</Grid.Styles>
|
||||
|
||||
@@ -77,7 +77,8 @@
|
||||
Grid.Column="1"
|
||||
TabIndex="0"
|
||||
FontSize="16"
|
||||
Padding="30,0,30,0"
|
||||
Name="btnYes"
|
||||
Classes="SaveButton"
|
||||
VerticalAlignment="Stretch"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalContentAlignment="Center"
|
||||
|
||||
@@ -27,6 +27,7 @@ namespace LibationAvalonia.Dialogs
|
||||
}
|
||||
|
||||
InitializeComponent();
|
||||
ControlToFocusOnShow = btnYes;
|
||||
}
|
||||
|
||||
public UpgradeNotificationDialog(UpgradeProperties upgradeProperties, bool canUpgrade) : this()
|
||||
|
||||
@@ -173,9 +173,8 @@
|
||||
<Setter Property="MinHeight" Value="10" />
|
||||
</Style>
|
||||
<Style Selector="Button">
|
||||
<Setter Property="Padding" Value="15,0,15,0" />
|
||||
<Setter Property="Padding" Value="15,6" />
|
||||
<Setter Property="Margin" Value="10,0,0,0" />
|
||||
<Setter Property="Height" Value="30" />
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||
</Style>
|
||||
@@ -195,7 +194,7 @@
|
||||
|
||||
<StackPanel Grid.Column="2" Height="30" Orientation="Horizontal">
|
||||
<Button Name="filterBtn" Command="{CompiledBinding FilterBtn}" CommandParameter="{CompiledBinding #filterSearchTb.Text}" VerticalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="Filter"/>
|
||||
<Button Padding="2,6,2,6" VerticalAlignment="Stretch" Command="{CompiledBinding ToggleQueueHideBtn}">
|
||||
<Button Padding="2,6" VerticalAlignment="Stretch" Command="{CompiledBinding ToggleQueueHideBtn}">
|
||||
<Path Stretch="Uniform" Fill="{DynamicResource IconFill}" Data="{StaticResource LeftArrows}">
|
||||
<Path.RenderTransform>
|
||||
<RotateTransform Angle="{CompiledBinding QueueButtonAngle}"/>
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<Grid Name="ButtonsGrid" Margin="3" Grid.Column="2" HorizontalAlignment="Right" ColumnDefinitions="Auto,Auto">
|
||||
<Grid.Styles>
|
||||
<Style Selector="Button">
|
||||
<Setter Property="Padding" Value="0,1,0,1" />
|
||||
<Setter Property="Padding" Value="0,1" />
|
||||
<Setter Property="Height" Value="20" />
|
||||
<Setter Property="Width" Value="30" />
|
||||
<Style Selector="^ > Path">
|
||||
|
||||
Reference in New Issue
Block a user