mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
UI: fixed wrong icons alignment in main menu with big fonts
This commit is contained in:
parent
29993ebd21
commit
e2bc691f0b
2 changed files with 2 additions and 18 deletions
|
@ -85,7 +85,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="By changing the settings in the preferences window you can adjust the look and behaviour of xmage."/>
|
<Property name="toolTipText" type="java.lang.String" value="By changing the settings in the preferences window you can adjust the look and behaviour of xmage."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnPreferencesActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnPreferencesActionPerformed"/>
|
||||||
|
@ -101,7 +100,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="Connect to or disconnect from a XMage server."/>
|
<Property name="toolTipText" type="java.lang.String" value="Connect to or disconnect from a XMage server."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnConnectActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnConnectActionPerformed"/>
|
||||||
|
@ -118,7 +116,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="Start the deck editor to create or modify decks."/>
|
<Property name="toolTipText" type="java.lang.String" value="Start the deck editor to create or modify decks."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDeckEditorActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDeckEditorActionPerformed"/>
|
||||||
|
@ -131,11 +128,10 @@
|
||||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||||
<Image iconType="3" name="/menu/collection.png"/>
|
<Image iconType="3" name="/menu/collection.png"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="text" type="java.lang.String" value="Viewer"/>
|
<Property name="text" type="java.lang.String" value="Card Viewer"/>
|
||||||
<Property name="toolTipText" type="java.lang.String" value="Card viewer to show the cards of sets. "/>
|
<Property name="toolTipText" type="java.lang.String" value="Card viewer to show the cards of sets. "/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCollectionViewerActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCollectionViewerActionPerformed"/>
|
||||||
|
@ -152,7 +148,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="Send some feedback to the developers."/>
|
<Property name="toolTipText" type="java.lang.String" value="Send some feedback to the developers."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSendFeedbackActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSendFeedbackActionPerformed"/>
|
||||||
|
@ -169,7 +164,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="<HTML>Load the mana and other card symbols from the internet.<br>
Otherwise you only see the replacement sequence like {U} for blue mana symbol.<br>
You need to do that only once."/>
|
<Property name="toolTipText" type="java.lang.String" value="<HTML>Load the mana and other card symbols from the internet.<br>
Otherwise you only see the replacement sequence like {U} for blue mana symbol.<br>
You need to do that only once."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSymbolsActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSymbolsActionPerformed"/>
|
||||||
|
@ -186,7 +180,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="<HTML>Load card images from external sources."/>
|
<Property name="toolTipText" type="java.lang.String" value="<HTML>Load card images from external sources."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnImagesActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnImagesActionPerformed"/>
|
||||||
|
@ -203,7 +196,6 @@
|
||||||
<Property name="toolTipText" type="java.lang.String" value="Some information about the developers."/>
|
<Property name="toolTipText" type="java.lang.String" value="Some information about the developers."/>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
<Property name="horizontalTextPosition" type="int" value="4"/>
|
<Property name="horizontalTextPosition" type="int" value="4"/>
|
||||||
<Property name="verticalTextPosition" type="int" value="3"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAboutActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnAboutActionPerformed"/>
|
||||||
|
|
|
@ -827,7 +827,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnPreferences.setToolTipText("By changing the settings in the preferences window you can adjust the look and behaviour of xmage.");
|
btnPreferences.setToolTipText("By changing the settings in the preferences window you can adjust the look and behaviour of xmage.");
|
||||||
btnPreferences.setFocusable(false);
|
btnPreferences.setFocusable(false);
|
||||||
btnPreferences.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnPreferences.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnPreferences.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnPreferences.addActionListener(new java.awt.event.ActionListener() {
|
btnPreferences.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnPreferencesActionPerformed(evt);
|
btnPreferencesActionPerformed(evt);
|
||||||
|
@ -840,7 +839,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnConnect.setToolTipText("Connect to or disconnect from a XMage server.");
|
btnConnect.setToolTipText("Connect to or disconnect from a XMage server.");
|
||||||
btnConnect.setFocusable(false);
|
btnConnect.setFocusable(false);
|
||||||
btnConnect.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnConnect.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnConnect.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnConnect.addActionListener(new java.awt.event.ActionListener() {
|
btnConnect.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnConnectActionPerformed(evt);
|
btnConnectActionPerformed(evt);
|
||||||
|
@ -854,7 +852,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnDeckEditor.setToolTipText("Start the deck editor to create or modify decks.");
|
btnDeckEditor.setToolTipText("Start the deck editor to create or modify decks.");
|
||||||
btnDeckEditor.setFocusable(false);
|
btnDeckEditor.setFocusable(false);
|
||||||
btnDeckEditor.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnDeckEditor.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnDeckEditor.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnDeckEditor.addActionListener(new java.awt.event.ActionListener() {
|
btnDeckEditor.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnDeckEditorActionPerformed(evt);
|
btnDeckEditorActionPerformed(evt);
|
||||||
|
@ -864,11 +861,10 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
mageToolbar.add(jSeparator2);
|
mageToolbar.add(jSeparator2);
|
||||||
|
|
||||||
btnCollectionViewer.setIcon(new javax.swing.ImageIcon(getClass().getResource("/menu/collection.png"))); // NOI18N
|
btnCollectionViewer.setIcon(new javax.swing.ImageIcon(getClass().getResource("/menu/collection.png"))); // NOI18N
|
||||||
btnCollectionViewer.setText("Viewer");
|
btnCollectionViewer.setText("Card Viewer");
|
||||||
btnCollectionViewer.setToolTipText("Card viewer to show the cards of sets. ");
|
btnCollectionViewer.setToolTipText("Card viewer to show the cards of sets. ");
|
||||||
btnCollectionViewer.setFocusable(false);
|
btnCollectionViewer.setFocusable(false);
|
||||||
btnCollectionViewer.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnCollectionViewer.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnCollectionViewer.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnCollectionViewer.addActionListener(new java.awt.event.ActionListener() {
|
btnCollectionViewer.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnCollectionViewerActionPerformed(evt);
|
btnCollectionViewerActionPerformed(evt);
|
||||||
|
@ -882,7 +878,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnSendFeedback.setToolTipText("Send some feedback to the developers.");
|
btnSendFeedback.setToolTipText("Send some feedback to the developers.");
|
||||||
btnSendFeedback.setFocusable(false);
|
btnSendFeedback.setFocusable(false);
|
||||||
btnSendFeedback.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnSendFeedback.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnSendFeedback.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnSendFeedback.addActionListener(new java.awt.event.ActionListener() {
|
btnSendFeedback.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnSendFeedbackActionPerformed(evt);
|
btnSendFeedbackActionPerformed(evt);
|
||||||
|
@ -896,7 +891,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnSymbols.setToolTipText("<HTML>Load the mana and other card symbols from the internet.<br>\nOtherwise you only see the replacement sequence like {U} for blue mana symbol.<br>\nYou need to do that only once.");
|
btnSymbols.setToolTipText("<HTML>Load the mana and other card symbols from the internet.<br>\nOtherwise you only see the replacement sequence like {U} for blue mana symbol.<br>\nYou need to do that only once.");
|
||||||
btnSymbols.setFocusable(false);
|
btnSymbols.setFocusable(false);
|
||||||
btnSymbols.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnSymbols.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnSymbols.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnSymbols.addActionListener(new java.awt.event.ActionListener() {
|
btnSymbols.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnSymbolsActionPerformed(evt);
|
btnSymbolsActionPerformed(evt);
|
||||||
|
@ -910,7 +904,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnImages.setToolTipText("<HTML>Load card images from external sources.");
|
btnImages.setToolTipText("<HTML>Load card images from external sources.");
|
||||||
btnImages.setFocusable(false);
|
btnImages.setFocusable(false);
|
||||||
btnImages.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnImages.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnImages.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnImages.addActionListener(new java.awt.event.ActionListener() {
|
btnImages.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnImagesActionPerformed(evt);
|
btnImagesActionPerformed(evt);
|
||||||
|
@ -924,7 +917,6 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
||||||
btnAbout.setToolTipText("Some information about the developers.");
|
btnAbout.setToolTipText("Some information about the developers.");
|
||||||
btnAbout.setFocusable(false);
|
btnAbout.setFocusable(false);
|
||||||
btnAbout.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
btnAbout.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
|
||||||
btnAbout.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
|
|
||||||
btnAbout.addActionListener(new java.awt.event.ActionListener() {
|
btnAbout.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
btnAboutActionPerformed(evt);
|
btnAboutActionPerformed(evt);
|
||||||
|
|
Loading…
Reference in a new issue