Browse Source

REPORT-53175 【10.0.18】组件背景分离为标题/背景/边框

子功能: 组件尺寸比例锁定
【问题原因】
更新操作栏按钮图标
【改动思路】
【review建议】
zheng-1641779399395
Starryi 3 years ago
parent
commit
4b22027e36
  1. BIN
      designer-base/src/main/resources/com/fr/design/images/control/aspect_ratio_lock.png
  2. BIN
      designer-base/src/main/resources/com/fr/design/images/control/aspect_ratio_unlock.png
  3. 4
      designer-form/src/main/java/com/fr/design/designer/ui/PopupControlPanel.java

BIN
designer-base/src/main/resources/com/fr/design/images/control/aspect_ratio_lock.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

BIN
designer-base/src/main/resources/com/fr/design/images/control/aspect_ratio_unlock.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

4
designer-form/src/main/java/com/fr/design/designer/ui/PopupControlPanel.java

@ -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

Loading…
Cancel
Save