New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Classic launcher dimensions #114
Comments
Do you still want the news on the right? The old launcher didn't use a huge list box for the instances. |
I don't know, it depends on how intrusive and big the news would make it. Maybe if the news appeared below the list it wouldn't be bad. |
Make a mock and post it? |
I think this would be nice: http://i.imgur.com/fz91ix1.png Not sure if it's what you were asking for, it has some things kindof different from default (like the modpack dropdown list to save space, and a dropdown list for accounts) that might require some time to add. |
Any word on this? |
The non-trivial part is turning the list of instances to a dropdown box. |
Okey, I have another question: how can I change default launcher window size in source code? I want it to be 1280x720. |
@sk89q It appears you can only change the launcher height, modifying the width doesn't work for me. |
@ajthemacboy OK I forgot there's a pack() down there. setMinimumSize() is the wrong way to do it really. The best way is to change this line: https://github.com/SKCraft/Launcher/blob/master/launcher/src/main/java/com/skcraft/launcher/dialog/LauncherFrame.java#L112 It changes the default size of the main split pane, which pack() will take into consideration when choosing a default window size. Cheatsheet for the parameters on that linked line: http://www.miglayout.com/cheatsheet.html Notably:
|
@sk89q it did work with usual build, but fancy version didn't pick up the size. If I do "w 1280:1280, h 720:720" instead of "w null:1280, h null:720" (minimum and preffered) things go really messy. |
The fancy launcher overrides the size: Either remove that line or use it instead. |
Hi, I wanted to ask you a question without creating a Github issue, but my E-mail to you failed to go through.
I liked how the original Launcher was very thin in width and long vertically.
I've attempted to edit various pixel values LauncherFrame.java to try to get it back like this, and I've had no luck. I'm not a Java dev so I don't entirely know what I'm doing, either. What values can I change to make it similar?
Sorry for making an issue to ask this.
The text was updated successfully, but these errors were encountered: