-
Notifications
You must be signed in to change notification settings - Fork 49
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
Allow WGridPanel to have gaps between widgets. #170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, but there are some code style issues and unnecessary/irrelevant changes
GuiTest/src/main/java/io/github/cottonmc/test/client/LibGuiTestClient.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
GuiTest/src/main/java/io/github/cottonmc/test/client/PaddingTestGui.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
GuiTest/src/main/java/io/github/cottonmc/test/client/TestClientGui.java
Outdated
Show resolved
Hide resolved
11059fc
to
ccee843
Compare
I hope I addressed all your concerns. I went on holidays and just forgot about this PR, so this took a bit. |
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
GuiTest/src/main/java/io/github/cottonmc/test/client/PaddingTestGui.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/cottonmc/cotton/gui/widget/WGridPanel.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I added those as static constructors, since managing regular constructor overloads with just a bunch of int arguments didn't work out.