Some more changes to GUI to better support high screen resolutions.

This commit is contained in:
LevelX2 2016-02-18 00:27:48 +01:00
parent 28b129018f
commit 77eff0984a
11 changed files with 2673 additions and 324 deletions

View file

@ -113,16 +113,8 @@ public class HelperPanel extends JPanel {
}
private void setGUISize() {
for (Component comp : popupMenuAskNo.getComponents()) {
if (comp instanceof JMenuItem) {
comp.setFont(GUISizeHelper.menuFont);
}
}
for (Component comp : popupMenuAskYes.getComponents()) {
if (comp instanceof JMenuItem) {
comp.setFont(GUISizeHelper.menuFont);
}
}
GUISizeHelper.changePopupMenuFont(popupMenuAskNo);
GUISizeHelper.changePopupMenuFont(popupMenuAskYes);
}
private void initComponents() {