Skip to content

Commit

Permalink
Use a WrapPanel for Utils section
Browse files Browse the repository at this point in the history
Related to issue Ryochan7#1669
  • Loading branch information
Ryochan7 committed Dec 28, 2020
1 parent c23c4e1 commit bfc8e17
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions DS4Windows/DS4Forms/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,44 +365,44 @@
<TextBox x:Name="fakeExeNameTxt" Text="{Binding FakeExeName, UpdateSourceTrigger=LostFocus}" MinWidth="200" />
</DockPanel>

<GroupBox Width="200" Header="Utils" BorderThickness="2" Margin="{StaticResource spaceMargin}"
<GroupBox Header="Utils" BorderThickness="2" Margin="{StaticResource spaceMargin}"
Padding="8" HorizontalAlignment="Left">
<StackPanel>
<Button x:Name="profFolderBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<WrapPanel HorizontalAlignment="Left" Orientation="Vertical">
<Button x:Name="profFolderBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="ProfFolderBtn_Click">
<TextBlock Text="{lex:Loc ProfileFolder}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="controlPanelBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<Button x:Name="controlPanelBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="ControlPanelBtn_Click" >
<TextBlock Text="{lex:Loc ControlPanel}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="html5GameBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<Button x:Name="html5GameBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="Html5GameBtn_Click" >
<TextBlock Text="{lex:Loc GamepadTest}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="xinputCheckerBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<Button x:Name="xinputCheckerBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="XinputCheckerBtn_Click" >
<TextBlock Text="{lex:Loc XInputChecker}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="hidNinjaBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<Button x:Name="hidNinjaBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="HidNinjaBtn_Click" >
<TextBlock Text="{lex:Loc HidNinja}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="driverSetupBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<Button x:Name="driverSetupBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="DriverSetupBtn_Click">
<TextBlock Text="{lex:Loc DriverSetup}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="checkUpdatesBtn" BorderThickness="0" Margin="0,0,0,4" Background="{x:Null}" BorderBrush="{x:Null}"
<Button x:Name="checkUpdatesBtn" BorderThickness="0" Margin="0,0,4,4" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="CheckUpdatesBtn_Click">
<!--="CheckUpdatesBtn_Click">-->
<TextBlock Text="{lex:Loc CheckUpdateNow}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
<Button x:Name="checklogViewBtn" BorderThickness="0" Background="{x:Null}" BorderBrush="{x:Null}"
Style="{StaticResource NoBGHoverBtn}" Click="ChecklogViewBtn_Click">
Style="{StaticResource NoBGHoverBtn}" Click="ChecklogViewBtn_Click" Margin="0,0,4,4">
<!--="CheckUpdatesBtn_Click">-->
<TextBlock Text="{lex:Loc Changelog}" TextDecorations="Underline" Foreground="{DynamicResource AccentColor}" Cursor="Hand" />
</Button>
</StackPanel>
</WrapPanel>
</GroupBox>
</WrapPanel>
</ScrollViewer>
Expand Down

0 comments on commit bfc8e17

Please sign in to comment.