|
|
@ -81,9 +81,9 @@ public class PopupControlPanel extends JPanel { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JToggleButton createAspectRatioLockedButton(FormDesigner designer) { |
|
|
|
private JToggleButton createAspectRatioLockedButton(FormDesigner designer) { |
|
|
|
JToggleButton button = new JToggleButton(IOUtils.readIcon("/com/fr/design/images/control/edit_unlock.png")); |
|
|
|
JToggleButton button = new JToggleButton(IOUtils.readIcon("/com/fr/design/images/control/aspect_ratio_unlock.png")); |
|
|
|
initButtonStyle(button); |
|
|
|
initButtonStyle(button); |
|
|
|
button.setSelectedIcon(IOUtils.readIcon("com/fr/design/images/control/edit_lock.png")); |
|
|
|
button.setSelectedIcon(IOUtils.readIcon("com/fr/design/images/control/aspect_ratio_lock.png")); |
|
|
|
button.setToolTipText(Toolkit.i18nText("Fine-Design_Form_UnLock_Widget_Ratio")); |
|
|
|
button.setToolTipText(Toolkit.i18nText("Fine-Design_Form_UnLock_Widget_Ratio")); |
|
|
|
button.addActionListener(new ActionListener() { |
|
|
|
button.addActionListener(new ActionListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|