From 65bca654895c94e83ef25008dc1c44cc822cfbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 17 Feb 2018 00:00:06 +0100 Subject: GH-2150 Split out custom commands into a custom widget Now it is used from a global page and from a sub-page in the instance settings. --- application/pages/global/JavaPage.ui | 79 +++++++++--------------------------- 1 file changed, 20 insertions(+), 59 deletions(-) (limited to 'application/pages/global/JavaPage.ui') diff --git a/application/pages/global/JavaPage.ui b/application/pages/global/JavaPage.ui index 9023b932..201b310c 100644 --- a/application/pages/global/JavaPage.ui +++ b/application/pages/global/JavaPage.ui @@ -7,7 +7,7 @@ 0 0 545 - 760 + 580 @@ -17,7 +17,16 @@ - + + 0 + + + 0 + + + 0 + + 0 @@ -217,62 +226,17 @@ - - - Custom Commands + + + Qt::Vertical - - - - - Post-exit command: - - - - - - - Pre-launch command: - - - - - - - - - - - - - Wrapper command: - - - - - - - - - - - - - - 0 - 0 - + + + 20 + 40 + - - <html><head/><body><p>Pre-launch command runs before the instance launches and post-exit command runs after it exits. Both will be run in MultiMC's working folder with INST_ID, INST_DIR, and INST_NAME as environment variables.</p><p>Wrapper command allows running java using an extra wrapper program (like 'optirun' on Linux)</p></body></html> - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop - - - true - - + @@ -289,9 +253,6 @@ jvmArgsTextBox javaDetectBtn javaTestBtn - preLaunchCmdTextBox - wrapperCmdTextBox - postExitCmdTextBox tabWidget -- cgit v1.2.3