Skip to content

Commit

Permalink
Merge pull request #426 from Aragas/dev
Browse files Browse the repository at this point in the history
v5.9.1
  • Loading branch information
Aragas authored Jul 18, 2023
2 parents 8464497 + 8548ff9 commit 8578942
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 26 deletions.
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<PropertyGroup>
<GameVersion>1.0.0</GameVersion>
<Version>5.9.0</Version>
<Version>5.9.1</Version>
<HarmonyVersion>2.2.2</HarmonyVersion>
<ButterLibVersion>2.8.11</ButterLibVersion>
<UIExtenderExVersion>2.8.0</UIExtenderExVersion>
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 5.9.1
Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3,v1.1.0,v1.1.1,v1.1.2,v1.1.3,v1.1.4,v1.1.5,v1.2.0,v1.2.1
* Scrolling regression fix
---------------------------------------------------------------------------------------------------
Version: 5.9.0
Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3,v1.1.0,v1.1.1,v1.1.2,v1.1.3,v1.1.4,v1.1.5,v1.2.0,v1.2.1
* Added the ability to save Settings Packs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using MCM.Abstractions.Base;
using MCM.Abstractions.Base;

using System.Collections.Generic;

Expand Down
21 changes: 9 additions & 12 deletions src/MCM.UI/GUI/Prefabs/ModOptionsPageView.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<!-- Separator -->
<BrushWidget WidthSizePolicy="StretchToParent" HeightSizePolicy="Fixed" SuggestedHeight="2" VerticalAlignment="Top" Brush="MCM.Divider.Yellow" MarginLeft="15" MarginRight="15"/>

<Widget WidthSizePolicy="StretchToParent" HeightSizePolicy="StretchToParent" MarginRight="30" MarginLeft="30">
<Widget WidthSizePolicy="StretchToParent" HeightSizePolicy="StretchToParent" MarginRight="30" MarginLeft="30" IsVisible="@IsSettingVisible">
<Children>

<ScrollablePanel WidthSizePolicy="StretchToParent" HeightSizePolicy="StretchToParent" ClipRect="SettingsClipRect" MarginRight="20"
Expand All @@ -126,17 +126,7 @@
<Widget Id="SettingsInnerPanel" WidthSizePolicy="StretchToParent" HeightSizePolicy="CoverChildren">
<Children>

<Widget HeightSizePolicy="StretchToParent" WidthSizePolicy="StretchToParent" IsVisible="@IsSettingVisible">
<Children>
<SettingsView DataSource="{SelectedMod}" HeightSizePolicy="CoverChildren" WidthSizePolicy="StretchToParent" />
</Children>
</Widget>
<Widget HeightSizePolicy="StretchToParent" WidthSizePolicy="StretchToParent" IsVisible="@IsSettingUnavailableVisible">
<Children>
<TextWidget Text="@UnavailableText" HeightSizePolicy="CoverChildren" WidthSizePolicy="CoverChildren" HorizontalAlignment="Left" VerticalAlignment="Center"
Brush="MCM.Item.Name" MarginLeft="10" DoNotAcceptEvents="true" ClipContents="true" />
</Children>
</Widget>
<SettingsView DataSource="{SelectedMod}" HeightSizePolicy="CoverChildren" WidthSizePolicy="StretchToParent" />

</Children>
</Widget>
Expand All @@ -153,6 +143,13 @@
</Children>
</Widget>

<Widget HeightSizePolicy="StretchToParent" WidthSizePolicy="StretchToParent" MarginRight="30" MarginLeft="30" IsVisible="@IsSettingUnavailableVisible">
<Children>
<TextWidget Text="@UnavailableText" HeightSizePolicy="CoverChildren" WidthSizePolicy="CoverChildren" HorizontalAlignment="Left" VerticalAlignment="Center"
Brush="MCM.Item.Name" MarginLeft="10" DoNotAcceptEvents="true" ClipContents="true" />
</Children>
</Widget>

<!-- Setting Hint Information Section -->
<ListPanel WidthSizePolicy="StretchToParent" HeightSizePolicy="Fixed" SuggestedHeight="100" VerticalAlignment="Bottom" LayoutImp.LayoutMethod="VerticalBottomToTop" MarginTop="1">
<Children>
Expand Down
21 changes: 9 additions & 12 deletions src/MCM.UI/GUI/Prefabs/ModOptionsView.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
<!-- Separator -->
<BrushWidget WidthSizePolicy="StretchToParent" HeightSizePolicy="Fixed" SuggestedHeight="2" VerticalAlignment="Top" Brush="MCM.Divider.Yellow" MarginLeft="15" MarginRight="15"/>

<Widget WidthSizePolicy="StretchToParent" HeightSizePolicy="StretchToParent" MarginRight="30" MarginLeft="30">
<Widget WidthSizePolicy="StretchToParent" HeightSizePolicy="StretchToParent" MarginRight="30" MarginLeft="30" IsVisible="@IsSettingVisible">
<Children>

<ScrollablePanel WidthSizePolicy="StretchToParent" HeightSizePolicy="StretchToParent" ClipRect="SettingsClipRect" MarginRight="20"
Expand All @@ -156,17 +156,7 @@
<Widget Id="SettingsInnerPanel" WidthSizePolicy="StretchToParent" HeightSizePolicy="CoverChildren">
<Children>

<Widget HeightSizePolicy="StretchToParent" WidthSizePolicy="StretchToParent" IsVisible="@IsSettingVisible">
<Children>
<SettingsView DataSource="{SelectedMod}" HeightSizePolicy="CoverChildren" WidthSizePolicy="StretchToParent" />
</Children>
</Widget>
<Widget HeightSizePolicy="StretchToParent" WidthSizePolicy="StretchToParent" IsVisible="@IsSettingUnavailableVisible">
<Children>
<TextWidget Text="@UnavailableText" HeightSizePolicy="CoverChildren" WidthSizePolicy="CoverChildren" HorizontalAlignment="Left" VerticalAlignment="Center"
Brush="MCM.Item.Name" MarginLeft="10" DoNotAcceptEvents="true" ClipContents="true" />
</Children>
</Widget>
<SettingsView DataSource="{SelectedMod}" HeightSizePolicy="CoverChildren" WidthSizePolicy="StretchToParent" />

</Children>
</Widget>
Expand All @@ -183,6 +173,13 @@
</Children>
</Widget>

<Widget HeightSizePolicy="StretchToParent" WidthSizePolicy="StretchToParent" MarginRight="30" MarginLeft="30" IsVisible="@IsSettingUnavailableVisible">
<Children>
<TextWidget Text="@UnavailableText" HeightSizePolicy="CoverChildren" WidthSizePolicy="CoverChildren" HorizontalAlignment="Left" VerticalAlignment="Center"
Brush="MCM.Item.Name" MarginLeft="10" DoNotAcceptEvents="true" ClipContents="true" />
</Children>
</Widget>

<!-- Setting Hint Information Section -->
<ListPanel WidthSizePolicy="StretchToParent" HeightSizePolicy="Fixed" SuggestedHeight="100" VerticalAlignment="Bottom"
LayoutImp.LayoutMethod="VerticalBottomToTop" MarginTop="1">
Expand Down

0 comments on commit 8578942

Please sign in to comment.