mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
UI: fixed font size in what's new button
This commit is contained in:
parent
ba46233dd1
commit
80b7f8493b
2 changed files with 3 additions and 3 deletions
|
@ -96,11 +96,10 @@ public class ConnectDialog extends MageDialog {
|
|||
private void setServerSettings(String address, String port, boolean needRegistration) {
|
||||
this.txtServer.setText(address);
|
||||
this.txtPort.setText(port);
|
||||
this.txtUserName.setText(MagePreferences.getUserName(address));
|
||||
if (needRegistration) {
|
||||
this.txtUserName.setText(MagePreferences.getUserName(address));
|
||||
this.txtPassword.setText(MagePreferences.getPassword(address));
|
||||
} else {
|
||||
this.txtUserName.setText("");
|
||||
this.txtPassword.setText("");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -582,6 +582,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
|||
Dimension newDimension = new Dimension((int) jPanelBottom.getPreferredSize().getWidth(), GUISizeHelper.menuFont.getSize() + 28);
|
||||
jPanelBottom.setMinimumSize(newDimension);
|
||||
jPanelBottom.setPreferredSize(newDimension);
|
||||
buttonWhatsNew.setFont(GUISizeHelper.menuFont);
|
||||
buttonNextMessage.setFont(GUISizeHelper.menuFont);
|
||||
labelMessageHeader.setFont(new Font(GUISizeHelper.menuFont.getName(), Font.BOLD, GUISizeHelper.menuFont.getSize()));
|
||||
labelMessageText.setFont(GUISizeHelper.menuFont);
|
||||
|
@ -1569,7 +1570,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
|||
jPanelBottom.setPreferredSize(new java.awt.Dimension(516, 37));
|
||||
jPanelBottom.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));
|
||||
|
||||
buttonWhatsNew.setText("Show that's new");
|
||||
buttonWhatsNew.setText("Show what's new");
|
||||
buttonWhatsNew.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
|
||||
buttonWhatsNew.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
|
||||
buttonWhatsNew.setOpaque(false);
|
||||
|
|
Loading…
Reference in a new issue