|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.fr.design.mainframe.theme; |
|
|
|
package com.fr.design.mainframe.theme; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.formdev.flatlaf.util.ScaledEmptyBorder; |
|
|
|
import com.fr.base.theme.FormTheme; |
|
|
|
import com.fr.base.theme.FormTheme; |
|
|
|
import com.fr.base.theme.TemplateThemeConfig; |
|
|
|
import com.fr.base.theme.TemplateThemeConfig; |
|
|
|
import com.fr.base.theme.settings.ThemedComponentStyle; |
|
|
|
import com.fr.base.theme.settings.ThemedComponentStyle; |
|
|
@ -99,5 +100,11 @@ public class FormThemeProfilePane extends TemplateThemeProfilePane<FormTheme> { |
|
|
|
ThemedComponentStyle componentStyle = componentStyleSettingPane.updateBean(); |
|
|
|
ThemedComponentStyle componentStyle = componentStyleSettingPane.updateBean(); |
|
|
|
theme.setComponentStyle(componentStyle); |
|
|
|
theme.setComponentStyle(componentStyle); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected void buildTabPane() { |
|
|
|
|
|
|
|
uiTabbedPane = tabPaneBuilder.withHeadRatio(0.6f).build(); |
|
|
|
|
|
|
|
uiTabbedPane.setBorder(new ScaledEmptyBorder(10, 5, 10, 1)); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|