greenshot/GreenshotConfluencePlugin/Forms/ConfluenceConfigurationForm.xaml
RKrom 929363202b * Bug #3585393: resize issues with some the plugin configuration dialogs.
* Not reported: Flickr configuration for the Family, Friend & Public wasn't stored.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2259 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-11-08 21:03:41 +00:00

33 lines
1.8 KiB
XML

<Window x:Class="GreenshotConfluencePlugin.ConfluenceConfigurationForm"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:gscp="clr-namespace:GreenshotConfluencePlugin"
xmlns:l="clr-namespace:TranslationByMarkupExtension"
xmlns:gsc="clr-namespace:GreenshotPlugin.Core;assembly=GreenshotPlugin"
Title="{l:Translate plugin_settings}" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Icon="/GreenshotConfluencePlugin;component/Images/Confluence.ico">
<Window.Resources>
<gscp:EnumDisplayer Type="{x:Type gsc:OutputFormat}" x:Key="outputFormats"/>
</Window.Resources>
<StackPanel>
<CheckBox IsChecked="{Binding IncludePersonSpaces}" Content="{l:Translate include_person_spaces}"/>
<CheckBox IsChecked="{Binding OpenPageAfterUpload}" Content="{l:Translate open_page_after_upload}"/>
<CheckBox IsChecked="{Binding CopyWikiMarkupForImageToClipboard}" Content="{l:Translate copy_wikimarkup}"/>
<StackPanel Orientation="Horizontal">
<Label Content="{l:Translate label_url}" />
<TextBox Text="{Binding Url}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="{l:Translate label_timeout}" />
<TextBox Text="{Binding Timeout}"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
<Label Content="{l:Translate upload_format}" />
<ComboBox ItemsSource="{Binding Source={StaticResource outputFormats},Path=DisplayNames}" SelectedValue="{Binding UploadFormat, Converter={StaticResource outputFormats}}" />
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button IsDefault="True" Content="{l:Translate OK}" Click="Button_OK_Click"/>
<Button IsCancel="True" Content="{l:Translate CANCEL}"/>
</StackPanel>
</StackPanel>
</Window>