Add tooltip text for CGCP checkbox

This commit is contained in:
SiboVG 2022-05-31 03:25:01 +02:00
parent b13f024f55
commit 4db0b16082
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ RocketPanel.lbl.ViewType = View Type:
RocketPanel.lbl.Zoom = Zoom:
RocketPanel.lbl.Stability = Stability:
RocketPanel.checkbox.ShowCGCP = Show CG/CP
RocketPanel.checkbox.ShowCGCP.ttip = Disabling this checkbox hides the CG and CP markings in the rocket view.
RocketPanel.lbl.Stages = Stages:
RocketPanel.ttip.Rotation = Change the rocket's roll rotation (only affects the rocket view)

View File

@ -337,6 +337,7 @@ public class RocketPanel extends JPanel implements TreeSelectionListener, Change
JCheckBox showCGCP = new JCheckBox();
showCGCP.setText(trans.get("RocketPanel.checkbox.ShowCGCP"));
showCGCP.setSelected(true);
showCGCP.setToolTipText(trans.get("RocketPanel.checkbox.ShowCGCP.ttip"));
ribbon.add(new JLabel(trans.get("RocketPanel.lbl.Stability")), "cell 4 0, gapleft para");
ribbon.add(showCGCP, "cell 4 1, gapleft para");