mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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">
|
<setting name="PreventTransferOverrideGridHeight" serializeAs="String">
|
||||||
<value>400</value>
|
<value>400</value>
|
||||||
</setting>
|
</setting>
|
||||||
|
<setting name="SupplyCratesGridHeight" serializeAs="String">
|
||||||
|
<value>200</value>
|
||||||
|
</setting>
|
||||||
</ServerManagerTool.Config>
|
</ServerManagerTool.Config>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
||||||
48
src/ARKServerManager/Config.Designer.cs
generated
48
src/ARKServerManager/Config.Designer.cs
generated
|
|
@ -2575,5 +2575,53 @@ namespace ServerManagerTool {
|
||||||
this["PreventTransferOverrideGridHeight"] = value;
|
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">
|
<Setting Name="PreventTransferOverrideGridHeight" Type="System.Windows.GridLength" Scope="User">
|
||||||
<Value Profile="(Default)">400</Value>
|
<Value Profile="(Default)">400</Value>
|
||||||
</Setting>
|
</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>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
|
|
@ -5088,13 +5088,13 @@
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition Height="200" MinHeight="200"/>
|
<RowDefinition Height="{Binding CurrentConfig.SupplyCratesGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition Height="200" MinHeight="200"/>
|
<RowDefinition Height="{Binding CurrentConfig.SupplyCrateItemSetsGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition Height="200" MinHeight="200"/>
|
<RowDefinition Height="{Binding CurrentConfig.SupplyCrateItemSetEntriesGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition Height="200" MinHeight="200"/>
|
<RowDefinition Height="{Binding CurrentConfig.SupplyCrateItemsGridHeight, ElementName=SettingsControl, FallbackValue=200, Mode=TwoWay}" MinHeight="200"/>
|
||||||
<RowDefinition/>
|
<RowDefinition/>
|
||||||
<RowDefinition Height="1" MinHeight="1"/>
|
<RowDefinition Height="1" MinHeight="1"/>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue