mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
UI: added more info on card's tooltip delay/disable
This commit is contained in:
parent
299f78d710
commit
321a45140b
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@
|
||||||
<Component class="javax.swing.JLabel" name="tooltipDelayLabel">
|
<Component class="javax.swing.JLabel" name="tooltipDelayLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="horizontalAlignment" type="int" value="0"/>
|
<Property name="horizontalAlignment" type="int" value="0"/>
|
||||||
<Property name="text" type="java.lang.String" value="Delay in milliseconds for showing the card tooltip text"/>
|
<Property name="text" type="java.lang.String" value="Delay in milliseconds for showing the card tooltip text (0 value will disable tooltip)"/>
|
||||||
<Property name="toolTipText" type="java.lang.String" value="<HTML>The time the appearance of the tooltip window for a card is delayed.<br>
If set to zero, the tooltip window won't be shown at all."/>
|
<Property name="toolTipText" type="java.lang.String" value="<HTML>The time the appearance of the tooltip window for a card is delayed.<br>
If set to zero, the tooltip window won't be shown at all."/>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
|
|
@ -603,7 +603,7 @@ public class PreferencesDialog extends javax.swing.JDialog {
|
||||||
});
|
});
|
||||||
|
|
||||||
tooltipDelayLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
|
tooltipDelayLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
|
||||||
tooltipDelayLabel.setText("Delay in milliseconds for showing the card tooltip text");
|
tooltipDelayLabel.setText("Delay in milliseconds for showing the card tooltip text (0 value will disable tooltip)");
|
||||||
tooltipDelayLabel.setToolTipText("<HTML>The time the appearance of the tooltip window for a card is delayed.<br>\nIf set to zero, the tooltip window won't be shown at all.");
|
tooltipDelayLabel.setToolTipText("<HTML>The time the appearance of the tooltip window for a card is delayed.<br>\nIf set to zero, the tooltip window won't be shown at all.");
|
||||||
|
|
||||||
tooltipDelay.setMajorTickSpacing(1000);
|
tooltipDelay.setMajorTickSpacing(1000);
|
||||||
|
|
Loading…
Reference in a new issue