mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Added config for grid heights
This commit is contained in:
parent
45765b5bb4
commit
525c30b9cd
4 changed files with 67 additions and 4 deletions
|
|
@ -744,6 +744,9 @@
|
|||
<setting name="PreventTransferOverrideGridHeight" serializeAs="String">
|
||||
<value>400</value>
|
||||
</setting>
|
||||
<setting name="SupplyCratesGridHeight" serializeAs="String">
|
||||
<value>200</value>
|
||||
</setting>
|
||||
</ServerManagerTool.Config>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
|
|
|
|||
48
src/ARKServerManager/Config.Designer.cs
generated
48
src/ARKServerManager/Config.Designer.cs
generated
|
|
@ -2575,5 +2575,53 @@ namespace ServerManagerTool {
|
|||
this["PreventTransferOverrideGridHeight"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("200")]
|
||||
public global::System.Windows.GridLength SupplyCratesGridHeight {
|
||||
get {
|
||||
return ((global::System.Windows.GridLength)(this["SupplyCratesGridHeight"]));
|
||||
}
|
||||
set {
|
||||
this["SupplyCratesGridHeight"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("200")]
|
||||
public global::System.Windows.GridLength SupplyCrateItemSetsGridHeight {
|
||||
get {
|
||||
return ((global::System.Windows.GridLength)(this["SupplyCrateItemSetsGridHeight"]));
|
||||
}
|
||||
set {
|
||||
this["SupplyCrateItemSetsGridHeight"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("200")]
|
||||
public global::System.Windows.GridLength SupplyCrateItemSetEntriesGridHeight {
|
||||
get {
|
||||
return ((global::System.Windows.GridLength)(this["SupplyCrateItemSetEntriesGridHeight"]));
|
||||
}
|
||||
set {
|
||||
this["SupplyCrateItemSetEntriesGridHeight"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("200")]
|
||||
public global::System.Windows.GridLength SupplyCrateItemsGridHeight {
|
||||
get {
|
||||
return ((global::System.Windows.GridLength)(this["SupplyCrateItemsGridHeight"]));
|
||||
}
|
||||
set {
|
||||
this["SupplyCrateItemsGridHeight"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -719,5 +719,17 @@
|
|||
<Setting Name="PreventTransferOverrideGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||
<Value Profile="(Default)">400</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupplyCratesGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||
<Value Profile="(Default)">200</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupplyCrateItemSetsGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||
<Value Profile="(Default)">200</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupplyCrateItemSetEntriesGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||
<Value Profile="(Default)">200</Value>
|
||||
</Setting>
|
||||
<Setting Name="SupplyCrateItemsGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||
<Value Profile="(Default)">200</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
|
|
@ -5088,13 +5088,13 @@
|
|||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="200" MinHeight="200"/>
|
||||
<RowDefinition Height="{Binding CurrentConfig.SupplyCratesGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="200" MinHeight="200"/>
|
||||
<RowDefinition Height="{Binding CurrentConfig.SupplyCrateItemSetsGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="200" MinHeight="200"/>
|
||||
<RowDefinition Height="{Binding CurrentConfig.SupplyCrateItemSetEntriesGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="200" MinHeight="200"/>
|
||||
<RowDefinition Height="{Binding CurrentConfig.SupplyCrateItemsGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="1" MinHeight="1"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue