Skip to content

Commit

Permalink
Rearrange title bar
Browse files Browse the repository at this point in the history
  • Loading branch information
CarbonNeuron committed Jan 25, 2021
1 parent cf200f1 commit 03ebffb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions AUCapture-WPF/MainWindow.xaml
Expand Up @@ -24,7 +24,7 @@
SaveWindowPosition="false"
dialogs:DialogParticipation.Register="{Binding }"
ContentRendered="MainWindow_OnContentRendered" Loaded="MetroWindow_Loaded" TryToBeFlickerFree="True"
MinWidth="300" MinHeight="200">
MinWidth="366" MinHeight="200">
<mah:MetroWindow.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
Expand All @@ -49,36 +49,36 @@
</mah:MetroWindow.Resources>
<mah:MetroWindow.LeftWindowCommands>
<mah:WindowCommands>
<Button x:Name="ContributorsButton" Click="ContributorsButton_OnClick" ToolTip="Show contributors">

<Button Click="Settings" ToolTip="Open the settings window">
<Button.ContentTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconModern Width="22" Height="22" VerticalAlignment="Center" Kind="Heart" Foreground="Red"/>
<iconPacks:PackIconModern Width="22" Height="22" VerticalAlignment="Center" Kind="Settings" />
<TextBlock Margin="4 0 0 0" VerticalAlignment="Center" Text="{Binding}" />
</StackPanel>
</DataTemplate>
</Button.ContentTemplate>
</Button>
<Button Click="Settings" ToolTip="Open the settings window">
<Button Click="ManualConnect_Click" x:Name="ManualConnectButton"
ToolTip="Open the manual connection window">
<Button.ContentTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconModern Width="22" Height="22" VerticalAlignment="Center" Kind="Settings" />
<TextBlock Margin="4 0 0 0" VerticalAlignment="Center" Text="{Binding}" />
<iconPacks:PackIconModern Width="22" Height="22" VerticalAlignment="Center" Kind="Connect" />
</StackPanel>
</DataTemplate>
</Button.ContentTemplate>
</Button>
<Button Click="ManualConnect_Click" x:Name="ManualConnectButton"
ToolTip="Open the manual connection window">
<Button x:Name="ContributorsButton" Click="ContributorsButton_OnClick" ToolTip="Show contributors">
<Button.ContentTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<iconPacks:PackIconModern Width="22" Height="22" VerticalAlignment="Center" Kind="Connect" />
<iconPacks:PackIconModern Width="22" Height="22" VerticalAlignment="Center" Kind="Heart" Foreground="Red"/>
</StackPanel>
</DataTemplate>
</Button.ContentTemplate>
</Button>

</mah:WindowCommands>

</mah:MetroWindow.LeftWindowCommands>
Expand Down

0 comments on commit 03ebffb

Please sign in to comment.