diff --git a/MaiChartManager/Front/src/views/Oobe/GameDirPage.tsx b/MaiChartManager/Front/src/views/Oobe/GameDirPage.tsx index ba91ef13..c25a99d4 100644 --- a/MaiChartManager/Front/src/views/Oobe/GameDirPage.tsx +++ b/MaiChartManager/Front/src/views/Oobe/GameDirPage.tsx @@ -30,39 +30,41 @@ export default defineComponent({ }; return () => ( -
-
-
{t('oobe.selectGameDir')}
-
{t('oobe.selectGameDirDesc')}
- -
- - {props.gamePath && ( -
-
- {props.pathValid ? t('oobe.selectedPath') : pathError.value}: {props.gamePath} +
+
+
+
{t('oobe.selectGameDir')}
+
{t('oobe.selectGameDirDesc')}
+ +
+ + {props.gamePath && ( +
+
+ {props.pathValid ? t('oobe.selectedPath') : pathError.value}: {props.gamePath} +
-
- )} - + )} + +
+ + {props.initializing &&
+
{t('oobe.initializingData')}
+
} +
- - {props.initializing &&
-
{t('oobe.initializingData')}
-
} -
); }, diff --git a/MaiChartManager/Front/src/views/Oobe/ModeSelectPage.tsx b/MaiChartManager/Front/src/views/Oobe/ModeSelectPage.tsx index f8922d93..325d32b3 100644 --- a/MaiChartManager/Front/src/views/Oobe/ModeSelectPage.tsx +++ b/MaiChartManager/Front/src/views/Oobe/ModeSelectPage.tsx @@ -28,61 +28,64 @@ export default defineComponent({ }; return () => ( -
-
{t('oobe.selectMode')}
-
-
isRemote.value = false} - > -
-
{t('oobe.localMode')}
-
{t('oobe.localModeDesc')}
+ // Issue #74: OOBE屏幕的内容允许滚动,这样用户可以自己想办法滚动,避免点不到确认按钮之类 +
+
+
{t('oobe.selectMode')}
+
+
isRemote.value = false} + > +
+
{t('oobe.localMode')}
+
{t('oobe.localModeDesc')}
+
+
isRemote.value = true} + > +
+
{t('oobe.remoteMode')}
+
{t('oobe.remoteModeDesc')}
+
-
isRemote.value = true} + + {isRemote.value && ( +
+ + {t('oobe.enableAuth')} + + + {useAuth.value && ( +
+ + +
+ )} +
+ + {t('oobe.startupOnBoot')} + +
+ )} +
+
- - {isRemote.value && ( -
- - {t('oobe.enableAuth')} - - - {useAuth.value && ( -
- - -
- )} -
- - {t('oobe.startupOnBoot')} - -
- )} -
-
); }, diff --git a/MaiChartManager/Front/src/views/Oobe/ServerRunningPage.tsx b/MaiChartManager/Front/src/views/Oobe/ServerRunningPage.tsx index 13e1795e..0a549d32 100644 --- a/MaiChartManager/Front/src/views/Oobe/ServerRunningPage.tsx +++ b/MaiChartManager/Front/src/views/Oobe/ServerRunningPage.tsx @@ -10,18 +10,20 @@ export default defineComponent({ const { t } = useI18n(); return () => ( -
-
-
{t('oobe.remoteReady')}
-
{t('oobe.lanAddresses')}
-
- {props.lanAddresses.map(addr => ( -
https://{addr}:5001
- ))} +
+
+
+
{t('oobe.remoteReady')}
+
{t('oobe.lanAddresses')}
+
+ {props.lanAddresses.map(addr => ( +
https://{addr}:5001
+ ))} +
+
-
); }, diff --git a/MaiChartManager/Front/src/views/Oobe/WelcomePage.tsx b/MaiChartManager/Front/src/views/Oobe/WelcomePage.tsx index 0da304a3..a1e22d61 100644 --- a/MaiChartManager/Front/src/views/Oobe/WelcomePage.tsx +++ b/MaiChartManager/Front/src/views/Oobe/WelcomePage.tsx @@ -20,17 +20,19 @@ export default defineComponent({ })); return () => ( -
- MaiChartManager -
MaiChartManager
-
{t('oobe.welcomeMessage')}
-
-
- setLocale(v as Locale)} + /> +
); diff --git a/MaiChartManager/OobeBrowser.cs b/MaiChartManager/OobeBrowser.cs index fb9d5366..7a23494d 100644 --- a/MaiChartManager/OobeBrowser.cs +++ b/MaiChartManager/OobeBrowser.cs @@ -17,8 +17,9 @@ public OobeBrowser(string? loopbackUrl = null, string hash = "/oobe") Text = "MaiChartManager"; ClientSize = new Size(1200, 1000); - FormBorderStyle = FormBorderStyle.FixedSingle; - MaximizeBox = false; + FormBorderStyle = FormBorderStyle.Sizable; + MaximizeBox = true; + MinimumSize = new Size(480, 480); var rm = new ComponentResourceManager(typeof(Launcher)); Icon = (Icon?)rm.GetObject("notifyIcon1.Icon");