|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.fr.design.javascript; |
|
|
|
|
|
|
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
|
import com.fine.theme.utils.FineUIScale; |
|
|
|
|
import com.fine.theme.utils.FineUIUtils; |
|
|
|
|
import com.formdev.flatlaf.util.ScaledEmptyBorder; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
@ -187,6 +188,7 @@ public class JSContentPane extends BasicPane {
|
|
|
|
|
JPanel jsParaPane = new JPanel(new BorderLayout()); |
|
|
|
|
funNameLabel.setBackground(FineUIUtils.getUIColor("background.normal", "background.normal")); |
|
|
|
|
UIScrollPane scrollPane = new UIScrollPane(funNameLabel); |
|
|
|
|
scrollPane.setPreferredSize(new Dimension(super.getPreferredSize().width, FineUIScale.scale(80))); |
|
|
|
|
scrollPane.setOpaque(true); |
|
|
|
|
jsParaPane.add(row(4, |
|
|
|
|
cell(scrollPane).weight(1), |
|
|
|
|