Browse Source

高dpi缩放,控件不可见修复

newui
renekton 3 months ago
parent
commit
1c5e509a36
  1. 3
      designer-realize/src/main/java/com/fr/design/condition/WidgetHighlightPane.java
  2. 2
      designer-realize/src/main/java/com/fr/design/widget/WidgetManageCardPane.java

3
designer-realize/src/main/java/com/fr/design/condition/WidgetHighlightPane.java

@ -9,6 +9,7 @@ import com.fr.design.gui.icombobox.UIComboBox;
import com.fr.design.gui.ilable.UILabel;
import com.fr.design.mainframe.ElementCasePane;
import com.fr.design.widget.CellWidgetCardPane;
import com.fr.design.widget.EastCellWidgetCardPane;
import com.fr.design.widget.WidgetManageCardPane;
import com.fr.design.widget.WidgetPane;
import com.fr.form.ui.*;
@ -47,7 +48,7 @@ public class WidgetHighlightPane extends ConditionAttrSingleConditionPane<Highli
final WidgetPane widgetPane = new WidgetPane() {
@Override
protected CellWidgetCardPane initWidgetCardPane(ElementCasePane pane) {
return new WidgetManageCardPane(pane);
return new EastCellWidgetCardPane(pane);
}
};
widgetPane.populate(widget);

2
designer-realize/src/main/java/com/fr/design/widget/WidgetManageCardPane.java

@ -5,7 +5,7 @@ import com.fr.design.mainframe.ElementCasePane;
/**
* Created by kerry on 2017/8/29.
*/
public class WidgetManageCardPane extends EastCellWidgetCardPane{
public class WidgetManageCardPane extends CellWidgetCardPane{
public WidgetManageCardPane(ElementCasePane pane) {
super(pane);

Loading…
Cancel
Save