diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index 6f87feb..283058c 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -682,6 +682,7 @@ namespace AM2RLauncher // Get drawing variables float height = drawable.Height; float width = drawable.Width; + //TODO: apparently winforms is the big outlier here. Works normal on wpf, I have *no* idea why, investigate and submit issue at eto float scaleDivisor = OS.IsWindows ? 955f : 715f; // Magic brute-forced values. Don't ask questions, because we don't have answers >_> // Also, seems like nix systems share the same scaleDivisor. Again, don't ask. float scale = height / scaleDivisor; diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs index 1fe357f..6a76c30 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs @@ -390,6 +390,7 @@ namespace AM2RLauncher #region TABS + #region MAIN PAGE // [MAIN PAGE] mainPage = new TabPage { @@ -397,9 +398,10 @@ namespace AM2RLauncher Text = Language.Text.PlayTab, Content = drawable }; + #endregion + #region CHANGELOG PAGE // [CHANGELOG] - changelogUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/changelog.html"); changelogWebView = new WebView { Url = changelogUri }; @@ -427,6 +429,10 @@ namespace AM2RLauncher } }; + #endregion + + #region NEWS PAGE + // [NEWS] newsUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/news.html"); newsWebView = new WebView { Url = newsUri }; @@ -476,6 +482,10 @@ namespace AM2RLauncher }; } + #endregion + + #region SETTINGS PAGE + // [LAUNCHER SETTINGS] DynamicLayout settingsLayout = new DynamicLayout(); @@ -634,8 +644,11 @@ namespace AM2RLauncher Text = Language.Text.LauncherSettingsTab }; - // [MOD SETTINGS] + #endregion + + #region MODSETTINGS PAGE + // [MOD SETTINGS] DynamicLayout profileLayout = new DynamicLayout(); @@ -753,6 +766,8 @@ namespace AM2RLauncher #endregion + #endregion + Content = new TabControl { Pages =