UI: added more info on card's tooltip delay/disable

This commit is contained in:
Oleg Agafonov 2018-01-25 08:15:12 +04:00
parent 299f78d710
commit 321a45140b
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@
<Component class="javax.swing.JLabel" name="tooltipDelayLabel">
<Properties>
<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="&lt;HTML&gt;The time the appearance of the tooltip window for a card is delayed.&lt;br&gt;&#xa;If set to zero, the tooltip window won&apos;t be shown at all."/>
</Properties>
</Component>

View file

@ -603,7 +603,7 @@ public class PreferencesDialog extends javax.swing.JDialog {
});
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.");
tooltipDelay.setMajorTickSpacing(1000);