Browse Source

REPORT-40459 【回归】右侧属性面板富文本编辑按钮变短

【问题原因】实际上不是编辑按钮变短了,而是上面的两个Label变短了,在使用TableLayout.FILL的情况下,后面跟着的输入框还有UICombox变长了,而编辑按钮前面的占位空白Label是写死size的,没有保持一致,所以空白Label不变的情况下,编辑按钮显得短了
【改动方案】将占位Label的宽度修改为与前面自动计算宽度的两个Label一致,这样后面跟的东西宽度就都是一致的
feature/big-screen
Yvan 4 years ago
parent
commit
a3c061ffdf
  1. 2
      designer-realize/src/main/java/com/fr/quickeditor/CellQuickEditor.java

2
designer-realize/src/main/java/com/fr/quickeditor/CellQuickEditor.java

@ -48,7 +48,7 @@ import java.util.ArrayList;
*/ */
public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> { public abstract class CellQuickEditor extends QuickEditor<ElementCasePane> {
protected static final Dimension LABEL_DIMENSION = new Dimension(60, 20); protected static final Dimension LABEL_DIMENSION = new Dimension(GraphHelper.getWidth(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Insert_Cell_Element")), 20);
protected static final int VGAP = 10, HGAP = 8, VGAP_INNER = 3; protected static final int VGAP = 10, HGAP = 8, VGAP_INNER = 3;
/** /**

Loading…
Cancel
Save