Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions FASTER/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mah:MetroWindow
<mah:MetroWindow
x:Class="FASTER.MainWindow"

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Expand Down Expand Up @@ -42,17 +42,17 @@
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="Auto"/>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>

<!--Menu Column - Main Items-->
<StackPanel Grid.Row="0" TextElement.FontSize="13">
<StackPanel.Effect>
<DropShadowEffect BlurRadius="5" RenderingBias="Performance" ShadowDepth="0"/>
</StackPanel.Effect>
<Label Content="Main" Margin="10,10,0,0" FontWeight="Bold"/>
<Label Content="Main" Margin="10,10,0,0" FontWeight="Bold"/>
<ListBox Name="IMainMenuItems" HorizontalAlignment="Stretch">
<ToggleButton Name="navSteamUpdater" Style="{StaticResource MahApps.Styles.ToggleButton.WindowCommands}" Click="ToggleButton_Click">
<DockPanel Width="180">
Expand Down Expand Up @@ -82,17 +82,16 @@
</StackPanel>

<!--Menu Column - Server Profiles-->
<StackPanel Grid.Row="1">
<StackPanel.Effect>
<DropShadowEffect BlurRadius="5" RenderingBias="Performance" ShadowDepth="0"/>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by dropping <DropShadowEffect BlurRadius="5" RenderingBias="Performance" ShadowDepth="0"/> it no longer creates a lovely rectangle around the server profiles.
IE.
68747470733a2f2f696d6775722e636f6d2f44384c71534f362e706e67

Other then that looks good 🏅

</StackPanel.Effect>
<Separator />
<!--<ListBoxItem Margin="2,5" Style="{StaticResource MahApps.Styles.ListBoxItem.HamburgerMenuSeparator}"/>-->
<DockPanel>
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<DockPanel Grid.Row="0">
<Label Content="Server Profiles" DockPanel.Dock="Left" Margin="10,5" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<Button HorizontalAlignment="Right" Margin="10,0" Click="INewServerProfileButton_Click" Content="{iconPacks:Modern Kind=Add}" Name="INewServerProfileButton" Style="{StaticResource MahApps.Styles.Button.MetroSquare.Accent}" BorderThickness="0" Height="25" Width="25" VerticalAlignment="Center" Padding="0"/>
</DockPanel>
<ListBox Name="IServerProfilesMenu" HorizontalAlignment="Stretch" Margin="0,0,0,2" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch">
<ListBox Grid.Row="1" Name="IServerProfilesMenu" HorizontalAlignment="Stretch" Margin="0,0,0,2" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch">
<ListBox.Resources>
<ContextMenu x:Key="ProfileContextMenu">
<MenuItem Header="Clone" Click="MenuItemClone_Click">
Expand All @@ -115,15 +114,14 @@
</Style>
</ListBox.ItemContainerStyle>
</ListBox>
</StackPanel>
</Grid>

<!--Menu Column - Other Items-->
<StackPanel Grid.Row="2" TextElement.FontSize="13">
<StackPanel.Effect>
<DropShadowEffect BlurRadius="5" RenderingBias="Performance" ShadowDepth="0"/>
</StackPanel.Effect>
<Separator/>
<!--<ListBoxItem Margin="2,5" Style="{StaticResource MahApps.Styles.ListBoxItem.HamburgerMenuSeparator}"/>-->
<Label Content="Other" Margin="10,5" FontWeight="Bold"/>
<ListBox Name="IOtherMenuItems" HorizontalAlignment="Stretch" Margin="0,1">
<ToggleButton Name="navSettings" Style="{StaticResource MahApps.Styles.ToggleButton.WindowCommands}" Click="ToggleButton_Click">
Expand Down Expand Up @@ -240,4 +238,4 @@
<Label Name="IFlyoutMessage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Content="TEXT"/>
</mah:Flyout>
</Grid>
</mah:MetroWindow>
</mah:MetroWindow>