Skip to content

Commit

Permalink
Merge pull request #14 from xWTF/master
Browse files Browse the repository at this point in the history
Settings UI tweaks
  • Loading branch information
jjw24 committed Nov 3, 2022
2 parents f07d2b6 + dec5bc6 commit f1c3248
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
52 changes: 33 additions & 19 deletions Flow.Launcher.Plugin.Putty/PuttySettings.xaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,36 @@
<UserControl x:Class="Flow.Launcher.Plugin.Putty.PuttySettings"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Flow.Launcher.Plugin.Putty"
mc:Ignorable="d"
Loaded="UserControl_Loaded"
d:DesignHeight="300"
d:DesignWidth="300">
<Border BorderBrush="Gray" Margin="10" BorderThickness="1">
<UserControl
x:Class="Flow.Launcher.Plugin.Putty.PuttySettings"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Flow.Launcher.Plugin.Putty"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="300"
d:DesignWidth="300"
Loaded="UserControl_Loaded"
mc:Ignorable="d">
<Border Margin="60,10,10,20">
<StackPanel>
<CheckBox x:Name="AddPuttyExeInResults" Content="Add putty exe in results" Margin="25 25 0 0" HorizontalAlignment="Left" />
<CheckBox x:Name="AlwaysStartsSessionMaximized" Content="Always starts a putty session maximized" Margin="25 10 0 0" HorizontalAlignment="Left" />
<Label x:Name="Label" Content="Putty Executable Path :" Margin="25 30 0 0"/>
<StackPanel Orientation="Horizontal" Margin="25 10 0 0">
<TextBox x:Name="PuttyFilePath" Width="264" Height="20"/>
<Button x:Name="btnOpenFile" Click="btnOpenFile_Click" Content="..." Margin="30 0 0 0" Height="30" Width="50"/>
</StackPanel>
</StackPanel>
<CheckBox
x:Name="AddPuttyExeInResults"
Margin="10,10,5,5"
HorizontalAlignment="Left"
Content="Add putty exe in results" />
<CheckBox
x:Name="AlwaysStartsSessionMaximized"
Margin="10,5,5,5"
HorizontalAlignment="Left"
Content="Always starts a putty session maximized" />
<Label Margin="10,5,5,5" Content="Putty Executable Path:" />
<DockPanel Margin="10,5,5,5">
<Button
MinWidth="50"
Margin="20,0,0,0"
Click="btnOpenFile_Click"
Content="..."
DockPanel.Dock="Right" />
<TextBox x:Name="PuttyFilePath" />
</DockPanel>
</StackPanel>
</Border>
</UserControl>
2 changes: 1 addition & 1 deletion Flow.Launcher.Plugin.Putty/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Name": "Putty",
"Description": "Launch Putty Sessions",
"Author":"Konstantin Zaitcev, Kai Eichinger (@cH40zLord)",
"Version":"2.2.0",
"Version":"2.2.1",
"Language": "csharp",
"Website": "https://github.com/jjw24/Flow.Launcher.Plugin.Putty",
"ExecuteFileName": "Flow.Launcher.Plugin.Putty.dll",
Expand Down

0 comments on commit f1c3248

Please sign in to comment.