Changeset 2517


Ignore:
Timestamp:
Jan 28, 2011, 4:41:16 PM (11 years ago)
Author:
Sven Rech
Message:
  • editorplugins can't be disabled anymore
  • changed scrollviewer in settings
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypP2P/P2PSettingsTab.xaml

    r2505 r2517  
    2020            <RowDefinition />
    2121        </Grid.RowDefinitions>
    22         <StackPanel Orientation="Vertical">
    23             <CheckBox Content="{Loc Use_Timeout}" ToolTip="{Loc Use_Timeout_Tooltip}" IsChecked="{Binding Source={x:Static p:P2PSettings.Default}, Path=UseTimeout, Mode=TwoWay}" Style="{StaticResource ResourceKey=settingsStyle}"/>
    24         </StackPanel>
     22       
     23        <ScrollViewer VerticalScrollBarVisibility="Auto">
     24            <StackPanel Orientation="Vertical">
     25                <CheckBox Content="{Loc Use_Timeout}" ToolTip="{Loc Use_Timeout_Tooltip}" IsChecked="{Binding Source={x:Static p:P2PSettings.Default}, Path=UseTimeout, Mode=TwoWay}" Style="{StaticResource ResourceKey=settingsStyle}"/>
     26            </StackPanel>
     27        </ScrollViewer>
    2528
    2629        <Grid Name="earthGrid" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" OpacityMask="#5B000000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="{Binding Path=ActualHeight}">
  • trunk/CrypPlugins/KeySearcher/KeysearcherSettingsTab.xaml

    r2516 r2517  
    77    <Grid>
    88        <Image Source="/KeySearcher;component/Images/icon.png" Opacity="0.2"/>
    9        
    10         <StackPanel Orientation="Vertical">
    11             <Label Content="OpenCL:" FontWeight="Bold" />
    12             <CheckBox Name="UseOpenCL" Content="Use OpenCL in KeySearcher" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=UseOpenCL, Mode=TwoWay}" ToolTip="Check this to enable the KeySearcher to make use of OpenCL for bruteforcing." Style="{StaticResource ResourceKey=settingsStyle}" />
    13             <CheckBox Content="Enable using OpenCL with high load (not recommend)" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=EnableHighLoad, Mode=TwoWay}" IsEnabled="{Binding ElementName=UseOpenCL, Path=IsChecked}" Style="{StaticResource ResourceKey=settingsStyle}" Margin="40,5,0,10" />
    14         </StackPanel>
     9
     10        <ScrollViewer VerticalScrollBarVisibility="Auto">
     11            <StackPanel Orientation="Vertical">
     12                <Label Content="OpenCL:" FontWeight="Bold" />
     13                <CheckBox Name="UseOpenCL" Content="Use OpenCL in KeySearcher" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=UseOpenCL, Mode=TwoWay}" ToolTip="Check this to enable the KeySearcher to make use of OpenCL for bruteforcing." Style="{StaticResource ResourceKey=settingsStyle}" />
     14                <CheckBox Content="Enable using OpenCL with high load (not recommend)" IsChecked="{Binding Source={x:Static Properties:Settings.Default}, Path=EnableHighLoad, Mode=TwoWay}" IsEnabled="{Binding ElementName=UseOpenCL, Path=IsChecked}" Style="{StaticResource ResourceKey=settingsStyle}" Margin="40,5,0,10" />
     15            </StackPanel>
     16        </ScrollViewer>
    1517    </Grid>
    1618</UserControl>
Note: See TracChangeset for help on using the changeset viewer.