|
|
|
@ -7,6 +7,7 @@ import java.awt.*;
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
|
|
|
|
|
import com.fine.theme.utils.FineUIScale; |
|
|
|
|
import com.fr.general.Background; |
|
|
|
|
import com.fr.design.mainframe.widget.wrappers.BackgroundWrapper; |
|
|
|
|
import com.fr.design.dialog.BasicDialog; |
|
|
|
@ -29,7 +30,7 @@ public class AccessibleBackgroundEditor extends UneditableAccessibleEditor {
|
|
|
|
|
protected void showEditorPane() { |
|
|
|
|
if (backgroundPane == null) { |
|
|
|
|
backgroundPane = new BackgroundPane(); |
|
|
|
|
backgroundPane.setPreferredSize(new Dimension(600, 400)); |
|
|
|
|
backgroundPane.setPreferredSize(FineUIScale.createScaleDimension(600, 400)); |
|
|
|
|
} |
|
|
|
|
BasicDialog dlg = backgroundPane.showWindow(SwingUtilities.getWindowAncestor(this)); |
|
|
|
|
dlg.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
|