Skip to content

Commit 559eeb8

Browse files
committed
#216 add Yanqi Li to the list of contributors
1 parent c90fd11 commit 559eeb8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
<name>Roland Illig</name>
6868
<url>https://github.com/rillig</url>
6969
</developer>
70+
<developer>
71+
<name>Yanqi Li</name>
72+
<url>https://github.com/yanqilee</url>
73+
</developer>
7074
<developer>
7175
<name>Johan Kaving</name>
7276
</developer>

src/main/java/com/tagtraum/perf/gcviewer/view/AboutDialog.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public class AboutDialog extends ScreenCenteredDialog implements ActionListener
5151
"Roland Illig",
5252
"Johan Kaving",
5353
"Maciej Kwiecien",
54+
"Yanqi Li",
5455
"Henry Lin",
5556
"James Livingston",
5657
"Mart Mägi",
@@ -170,7 +171,7 @@ private Dimension calculatePreferredSize(JLabel labelWithHtmlText, boolean width
170171
width ? 0 : preferredSize);
171172

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

175176
return new Dimension((int) Math.ceil(w),
176177
(int) Math.ceil(h));

0 commit comments

Comments
 (0)