mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Added splitter to SectionEngrams
This commit is contained in:
parent
6377fe9c5c
commit
7474f508fa
3 changed files with 31 additions and 7 deletions
12
src/ARKServerManager/Config.Designer.cs
generated
12
src/ARKServerManager/Config.Designer.cs
generated
|
|
@ -2719,5 +2719,17 @@ namespace ServerManagerTool {
|
||||||
this["ServerFilesGridHeight"] = value;
|
this["ServerFilesGridHeight"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("400")]
|
||||||
|
public global::System.Windows.GridLength EngramsGridHeight {
|
||||||
|
get {
|
||||||
|
return ((global::System.Windows.GridLength)(this["EngramsGridHeight"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["EngramsGridHeight"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -755,5 +755,8 @@
|
||||||
<Setting Name="ServerFilesGridHeight" Type="System.Windows.GridLength" Scope="User">
|
<Setting Name="ServerFilesGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||||
<Value Profile="(Default)">250</Value>
|
<Value Profile="(Default)">250</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
<Setting Name="EngramsGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||||
|
<Value Profile="(Default)">400</Value>
|
||||||
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
|
|
@ -3253,7 +3253,9 @@
|
||||||
<Grid Margin="-8,0,2,0">
|
<Grid Margin="-8,0,2,0">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition/>
|
<RowDefinition Height="{Binding CurrentConfig.EngramsGridHeight, ElementName=SettingsControl, FallbackValue=400, Mode=TwoWay}" MinHeight="200"/>
|
||||||
|
<RowDefinition Height="Auto"/> <!--Splitter Row-->
|
||||||
|
<RowDefinition Height="1" MinHeight="1"/> <!--Empty Row for Last Splitter-->
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
<CheckBox Grid.Row="0" Margin="5" Content="{DynamicResource ServerSettings_AutoUnlockAllEngramsLabel}" IsChecked="{Binding AutoUnlockAllEngrams}" ToolTip="{DynamicResource ServerSettings_AutoUnlockAllEngramsTooltip}" HorizontalAlignment="Left"/>
|
<CheckBox Grid.Row="0" Margin="5" Content="{DynamicResource ServerSettings_AutoUnlockAllEngramsLabel}" IsChecked="{Binding AutoUnlockAllEngrams}" ToolTip="{DynamicResource ServerSettings_AutoUnlockAllEngramsTooltip}" HorizontalAlignment="Left"/>
|
||||||
|
|
@ -3281,8 +3283,14 @@
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</GroupBox.Header>
|
</GroupBox.Header>
|
||||||
|
|
||||||
<StackPanel>
|
<Grid>
|
||||||
<StackPanel Orientation="Horizontal" Margin="0,2,0,0">
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="Auto"/>
|
||||||
|
<RowDefinition Height="*"/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0,2,0,0">
|
||||||
<CheckBox x:Name="OnlyAllowSpecifiedEngramsCheckBox" Margin="5" Content="{DynamicResource ServerSettings_OnlyAllowSpecifiedEngramsLabel}" IsChecked="{Binding OnlyAllowSpecifiedEngrams, Mode=TwoWay}" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_OnlyAllowSpecifiedEngramsTooltip}" HorizontalAlignment="Left"/>
|
<CheckBox x:Name="OnlyAllowSpecifiedEngramsCheckBox" Margin="5" Content="{DynamicResource ServerSettings_OnlyAllowSpecifiedEngramsLabel}" IsChecked="{Binding OnlyAllowSpecifiedEngrams, Mode=TwoWay}" IsEnabled="{Binding EngramSettings.IsEnabled}" ToolTip="{DynamicResource ServerSettings_OnlyAllowSpecifiedEngramsTooltip}" HorizontalAlignment="Left"/>
|
||||||
<Button Width="22" Height="22" Margin="20,0,0,0" Click="Engrams_SelectAll" ToolTip="{DynamicResource ServerSettings_EngramsSelectAllTooltip}">
|
<Button Width="22" Height="22" Margin="20,0,0,0" Click="Engrams_SelectAll" ToolTip="{DynamicResource ServerSettings_EngramsSelectAllTooltip}">
|
||||||
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Checked.ico,Size=32}"/>
|
<Image Source="{com:Icon Path=/Ark Server Manager;component/Art/Checked.ico,Size=32}"/>
|
||||||
|
|
@ -3316,7 +3324,7 @@
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<StackPanel Orientation="Horizontal" DataContext="{Binding}">
|
<StackPanel Grid.Row="1" Orientation="Horizontal" DataContext="{Binding}">
|
||||||
<Label Content="{DynamicResource General_FilterLabel}"/>
|
<Label Content="{DynamicResource General_FilterLabel}"/>
|
||||||
<ComboBox Name="ModEngramComboBox" ItemsSource="{Binding BaseEngramModList, ElementName=SettingsControl}" SelectedValue="{Binding SelectedModEngram, ElementName=SettingsControl, Mode=TwoWay}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" Margin="0,0,2,0" IsEnabled="{Binding EngramSettings.IsEnabled}" HorizontalAlignment="Left" VerticalContentAlignment="Center" MinWidth="200" Width="Auto" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
|
<ComboBox Name="ModEngramComboBox" ItemsSource="{Binding BaseEngramModList, ElementName=SettingsControl}" SelectedValue="{Binding SelectedModEngram, ElementName=SettingsControl, Mode=TwoWay}" SelectedValuePath="ValueMember" DisplayMemberPath="DisplayMember" Margin="0,0,2,0" IsEnabled="{Binding EngramSettings.IsEnabled}" HorizontalAlignment="Left" VerticalContentAlignment="Center" MinWidth="200" Width="Auto" PreviewMouseWheel="ComboBox_PreviewMouseWheel"/>
|
||||||
<TextBox Name="ModEngramTextbox" Text="{Binding EngramFilterString, ElementName=SettingsControl, Mode=TwoWay}" VerticalContentAlignment="Center" IsEnabled="{Binding EngramSettings.IsEnabled}" Padding="2" Margin="5,0,2,0" HorizontalAlignment="Left" MinWidth="300" Width="Auto" />
|
<TextBox Name="ModEngramTextbox" Text="{Binding EngramFilterString, ElementName=SettingsControl, Mode=TwoWay}" VerticalContentAlignment="Center" IsEnabled="{Binding EngramSettings.IsEnabled}" Padding="2" Margin="5,0,2,0" HorizontalAlignment="Left" MinWidth="300" Width="Auto" />
|
||||||
|
|
@ -3339,7 +3347,7 @@
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<DataGrid Margin="0,5,0,0" Name="EngramsOverrideGrid" ItemsSource="{Binding Source={StaticResource EngramsViewSource}}" Height="400" IsEnabled="{Binding EngramSettings.IsEnabled}" FrozenColumnCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="0" GridLinesVisibility="Horizontal">
|
<DataGrid Grid.Row="2" Margin="0,5,0,0" Name="EngramsOverrideGrid" ItemsSource="{Binding Source={StaticResource EngramsViewSource}}" IsEnabled="{Binding EngramSettings.IsEnabled}" FrozenColumnCount="1" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserSortColumns="true" SelectionMode="Single" CanUserResizeRows="False" RowHeaderWidth="0" GridLinesVisibility="Horizontal">
|
||||||
<DataGrid.Resources>
|
<DataGrid.Resources>
|
||||||
<Style TargetType="{x:Type DataGridRow}">
|
<Style TargetType="{x:Type DataGridRow}">
|
||||||
<Style.Resources>
|
<Style.Resources>
|
||||||
|
|
@ -3577,9 +3585,10 @@
|
||||||
</Style>
|
</Style>
|
||||||
</DataGrid.RowStyle>
|
</DataGrid.RowStyle>
|
||||||
</DataGrid>
|
</DataGrid>
|
||||||
|
</Grid>
|
||||||
</StackPanel>
|
|
||||||
</GroupBox>
|
</GroupBox>
|
||||||
|
|
||||||
|
<GridSplitter Grid.Row="2" Height="5" ShowsPreview="True" HorizontalAlignment="Stretch" VerticalAlignment="Center" Opacity="0"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Expander>
|
</Expander>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue