-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add About window #588
Add About window #588
Conversation
That looks awesome! Do you want to add a link to the github site somewhere? |
@@ -35,6 +35,8 @@ | |||
|
|||
public class Main extends Application { | |||
|
|||
private static Main instance; |
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.
Can you like, not do this.... Hahahahah
No static state please. This is why we have dependency injection.
Currently broken. I have little (read: no) experience with dependency injection. @JLLeitschuh Do you know why it is not working as written? |
I'll take a look tomorrow |
Buttons shouldn't have ellipses in the text, remove them. |
Some issues I've found (running Windows 8.1, not sure if it's present on OS X or Linux)
|
I updated the style again. This should fix the weird rectangle issue. Still not sure why the font is/was being weird. |
accacb3
to
2e0ab16
Compare
693422b
to
ed55d84
Compare
Updated to solve the failing tests. |
</HBox> | ||
</children> | ||
<stylesheets> | ||
<URL value="@roboto/Roboto.css" /> |
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.
This line (90) needs to be removed with #590.
@SamCarlberg Can you please check the latest to see if smoothing is correct? |
|
||
@FXML | ||
void initialize() { | ||
assert versionNumberLabel != null : "fx:id=\"versionNumberText\" was not injected: check your FXML file 'AboutDialog.fxml'."; |
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.
Not sure if this is necessary.
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.
It's not, should remove it.
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.
Removed in 4547ce4
Looks good to me |
This is ready to merge |
Adds an about window that uses FXML.
Closes #439