Feature/Suggestion #559
closedImprove the java options text field
0%
Description
Currently, it is quite a pain to work with the "Java Options" text field ie to start minecraft in debug mode (Don't ask me why I did that). It should be changed into a bigger TextArea so one can actually edit it directly.
Updated by SirWill over 8 years ago
I assume you mean the "JVM arguments" field?
Updated by Krystals about 8 years ago
- Status changed from New to In Progress
Working on this in a launcher update :)
Updated by Krystals about 8 years ago
- Assignee changed from Developer to Krystals
Updated by Xfel11 almost 8 years ago
- Adding a scroll pane around the text field
- Separate the arguments by newlines instead of spaces. That way, it's easier to see where the arguments start/end.
Updated by jayaram13 over 7 years ago
Will add the scroll pane around the text area.
Will change the config to make the arguments use newlines instead of spaces.
Updated by jayaram13 over 7 years ago
Modified Configuration.java to make the options appear in newlines. But putting the textarea into a JScrollPane constrains it to the default layout - forcing the textarea to have the same height as a textbox (one row). The setPreferredSize method also gets ignored as a result.
I can either change the default layout and manually fix alignment for all the components in the canvas, or just leave the textarea float without a JScrollPane.
Suggestions?
Updated by jayaram13 over 7 years ago
jayaram13 wrote:
Modified Configuration.java to make the options appear in newlines. But putting the textarea into a JScrollPane constrains it to the default layout - forcing the textarea to have the same height as a textbox (one row). The setPreferredSize method also gets ignored as a result.
I can either change the default layout and manually fix alignment for all the components in the canvas, or just leave the textarea float without a JScrollPane.
Suggestions?
Managed to get both suggestions implemented. The JScrollPane respected the setMinimumSize while ignoring the setRecommendedSize. So we're good to go.
Updated by SirWill over 7 years ago
- Resolution set to Fixed/Completed
- Assignee changed from Developer to jayaram13
- Status changed from In Progress to Closed