Skip to content

Commit

Permalink
[v3.0] HTTP UI DPI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abc123lzf committed Jun 5, 2021
1 parent 4da8a60 commit 76ecfd7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import java.util.Objects;
import java.util.function.Consumer;

import static com.lzf.flyingsocks.client.gui.swt.Utils.adaptDPI;
import static com.lzf.flyingsocks.client.gui.swt.Utils.addButtonSelectionListener;
import static com.lzf.flyingsocks.client.gui.swt.Utils.createButton;
import static com.lzf.flyingsocks.client.gui.swt.Utils.createLabel;
Expand Down Expand Up @@ -75,6 +76,7 @@ public class HttpProxySettingModule extends AbstractModule<SWTViewComponent> {

this.shell = createShell(component.getDisplay(), "swtui.http.title", icon, 600, 280);
initial();
adaptDPI(shell);
}

private void initial() {
Expand Down

0 comments on commit 76ecfd7

Please sign in to comment.