Skip to content

Commit

Permalink
chewiebug#216 add Yanqi Li to the list of contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
chewiebug committed Jun 10, 2019
1 parent 01fa608 commit 515dfbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
<name>Roland Illig</name>
<url>https://github.com/rillig</url>
</developer>
<developer>
<name>Yanqi Li</name>
<url>https://github.com/yanqilee</url>
</developer>
<developer>
<name>Johan Kaving</name>
</developer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class AboutDialog extends ScreenCenteredDialog implements ActionListener
"Roland Illig",
"Johan Kaving",
"Maciej Kwiecien",
"Yanqi Li",
"Henry Lin",
"James Livingston",
"Mart Mägi",
Expand Down Expand Up @@ -170,7 +171,7 @@ private Dimension calculatePreferredSize(JLabel labelWithHtmlText, boolean width
width ? 0 : preferredSize);

float w = view.getPreferredSpan(View.X_AXIS);
float h = view.getPreferredSpan(View.Y_AXIS);
float h = view.getPreferredSpan(View.Y_AXIS) * (float)1.1; // add 10% to compensate for high dpi screens with jdk 11

return new Dimension((int) Math.ceil(w),
(int) Math.ceil(h));
Expand Down

0 comments on commit 515dfbe

Please # to comment.