mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Fix preference menu tooltip, minor preference menu clarity improvements
This commit is contained in:
parent
13bf2126d3
commit
37ade28c31
2 changed files with 7 additions and 7 deletions
|
|
@ -2115,6 +2115,9 @@
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JTextField" name="txtBackgroundImagePath">
|
<Component class="javax.swing.JTextField" name="txtBackgroundImagePath">
|
||||||
|
<Properties>
|
||||||
|
<Property name="toolTipText" type="java.lang.String" value="The selected image will be used as the background picture. Requires client restart to see changes."/>
|
||||||
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JButton" name="btnBrowseBackgroundImage">
|
<Component class="javax.swing.JButton" name="btnBrowseBackgroundImage">
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
@ -2254,16 +2257,13 @@
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
<Component class="javax.swing.JCheckBox" name="cbUseDefaultImageFolder">
|
<Component class="javax.swing.JCheckBox" name="cbUseDefaultImageFolder">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" value="Use default location to save images"/>
|
<Property name="text" type="java.lang.String" value="Use default location to save card images"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbUseDefaultImageFolderActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cbUseDefaultImageFolderActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JTextField" name="txtImageFolderPath">
|
<Component class="javax.swing.JTextField" name="txtImageFolderPath">
|
||||||
<Properties>
|
|
||||||
<Property name="toolTipText" type="java.lang.String" value="The selected image will be used as background picture. You have to restart MAGE to view a changed background image."/>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JButton" name="btnBrowseImageLocation">
|
<Component class="javax.swing.JButton" name="btnBrowseImageLocation">
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
|
||||||
|
|
@ -2155,6 +2155,8 @@ public class PreferencesDialog extends javax.swing.JDialog {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
txtBackgroundImagePath.setToolTipText("The selected image will be used as the background picture. Requires client restart to see changes.");
|
||||||
|
|
||||||
btnBrowseBackgroundImage.setText("Browse...");
|
btnBrowseBackgroundImage.setText("Browse...");
|
||||||
btnBrowseBackgroundImage.addActionListener(new java.awt.event.ActionListener() {
|
btnBrowseBackgroundImage.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
|
@ -2254,15 +2256,13 @@ public class PreferencesDialog extends javax.swing.JDialog {
|
||||||
|
|
||||||
panelCardImages.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Card images"));
|
panelCardImages.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createEtchedBorder(), "Card images"));
|
||||||
|
|
||||||
cbUseDefaultImageFolder.setText("Use default location to save images");
|
cbUseDefaultImageFolder.setText("Use default location to save card images");
|
||||||
cbUseDefaultImageFolder.addActionListener(new java.awt.event.ActionListener() {
|
cbUseDefaultImageFolder.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
cbUseDefaultImageFolderActionPerformed(evt);
|
cbUseDefaultImageFolderActionPerformed(evt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
txtImageFolderPath.setToolTipText("The selected image will be used as background picture. You have to restart MAGE to view a changed background image.");
|
|
||||||
|
|
||||||
btnBrowseImageLocation.setText("Browse...");
|
btnBrowseImageLocation.setText("Browse...");
|
||||||
btnBrowseImageLocation.addActionListener(new java.awt.event.ActionListener() {
|
btnBrowseImageLocation.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue