Skip to content

Commit

Permalink
fixed issue where getting display resolution might time out
Browse files Browse the repository at this point in the history
  • Loading branch information
project-sbc committed Jul 24, 2022
1 parent 628ec74 commit a81ce47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PowerControlPanel/Classes/RunCLI/RunCLI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static string RunCommand(string arguments, bool readOutput, string proces
process.StartInfo = startInfo;
process.Start();

process.WaitForExit(3000);
process.WaitForExit(8000);
if (readOutput)
{
int Errorlevel = process.ExitCode;
Expand Down
6 changes: 3 additions & 3 deletions PowerControlPanel/Pages/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</Style>
<Style TargetType="ComboBox">

<Setter Property="FontSize" Value="28"/>
<Setter Property="FontSize" Value="20"/>
</Style>
</Page.Resources>

Expand Down Expand Up @@ -74,7 +74,7 @@
<ComboBoxItem Content="Sienna"/>

</ComboBox>
<ComboBox x:Name="cboLightDarkTheme" Width="100" HorizontalAlignment="Right" IsEditable="False" DockPanel.Dock="Right" >
<ComboBox x:Name="cboLightDarkTheme" Width="120" HorizontalAlignment="Right" IsEditable="False" DockPanel.Dock="Right" >
<ComboBoxItem Content="Light" />
<ComboBoxItem Content="Dark" />

Expand All @@ -86,7 +86,7 @@
<Label Content="Start With Windows" VerticalContentAlignment="Center" DockPanel.Dock="Left" HorizontalAlignment="Left" FontSize="20">

</Label>
<ComboBox x:Name="cboAutoStart" Width="100" HorizontalAlignment="Right" IsEditable="False" DockPanel.Dock="Right" >
<ComboBox x:Name="cboAutoStart" Width="200" HorizontalAlignment="Right" IsEditable="False" DockPanel.Dock="Right" >
<ComboBoxItem Content="Enable" />
<ComboBoxItem Content="Disable" />

Expand Down

0 comments on commit a81ce47

Please sign in to comment.