forked from External/mage
Some more changes to GUI to better support high screen resolutions.
This commit is contained in:
parent
28b129018f
commit
77eff0984a
11 changed files with 2673 additions and 324 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue