|
|
|
@ -12,7 +12,12 @@ import com.fr.design.mainframe.share.collect.ComponentCollector;
|
|
|
|
|
import com.fr.design.mainframe.share.ui.online.CarouselStateManger; |
|
|
|
|
import com.fr.design.mainframe.share.ui.online.embed.AnimatePopupDialog; |
|
|
|
|
import com.fr.design.mainframe.share.ui.online.embed.FirstDragAnimateStateManager; |
|
|
|
|
import com.fr.form.main.Form; |
|
|
|
|
import com.fr.form.main.WidgetGather; |
|
|
|
|
import com.fr.form.share.constants.ShareComponentConstants; |
|
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
|
import com.fr.form.ui.container.WAbsoluteLayout; |
|
|
|
|
import com.fr.general.FRScreen; |
|
|
|
|
import com.fr.module.ModuleContext; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
import javax.swing.ImageIcon; |
|
|
|
@ -285,4 +290,18 @@ public abstract class PreviewWidgetBlock<T> extends JPanel implements MouseListe
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected void compatibleProcessAbsoluteLayoutResolution(Widget widget) { |
|
|
|
|
Form.traversalWidget(widget, new WidgetGather() { |
|
|
|
|
@Override |
|
|
|
|
public void dealWith(Widget widget) { |
|
|
|
|
((WAbsoluteLayout) widget).setDesigningResolution(FRScreen.p1440.getDimension()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean dealWithAllCards() { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}, WAbsoluteLayout.class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|