Browse Source

fix: 回退调整滚动条的代码

fbp/release
lemon 3 months ago
parent
commit
8888ff5f86
  1. 3
      designer-base/src/main/java/com/fr/design/file/SaveSomeTemplatePane.java
  2. 2
      designer-base/src/main/resources/com/fine/theme/light/ui/laf/FineLaf.properties

3
designer-base/src/main/java/com/fr/design/file/SaveSomeTemplatePane.java

@ -85,6 +85,9 @@ public class SaveSomeTemplatePane extends BasicPane {
templatesChoosePane = FRGUIPaneFactory.createBorderLayout_S_Pane(); templatesChoosePane = FRGUIPaneFactory.createBorderLayout_S_Pane();
UIScrollPane scrollPane = new UIScrollPane(templatesChoosePane); UIScrollPane scrollPane = new UIScrollPane(templatesChoosePane);
scrollPane.setBorder(new FineRoundBorder()); scrollPane.setBorder(new FineRoundBorder());
if (SystemInfo.isWindows) {
scrollPane.getVerticalScrollBar().setUI(new UIScrollBarUI());
}
this.add(scrollPane, BorderLayout.CENTER); this.add(scrollPane, BorderLayout.CENTER);
this.isJudgeCurrentEditingTemplate = isNeedTojudgeCurrent; this.isJudgeCurrentEditingTemplate = isNeedTojudgeCurrent;
} }

2
designer-base/src/main/resources/com/fine/theme/light/ui/laf/FineLaf.properties

@ -26,7 +26,7 @@ ProgressBarUI=com.formdev.flatlaf.ui.FlatProgressBarUI
RadioButtonUI=com.formdev.flatlaf.ui.FlatRadioButtonUI RadioButtonUI=com.formdev.flatlaf.ui.FlatRadioButtonUI
RadioButtonMenuItemUI=com.formdev.flatlaf.ui.FlatRadioButtonMenuItemUI RadioButtonMenuItemUI=com.formdev.flatlaf.ui.FlatRadioButtonMenuItemUI
RootPaneUI=com.formdev.flatlaf.ui.FlatRootPaneUI RootPaneUI=com.formdev.flatlaf.ui.FlatRootPaneUI
ScrollBarUI=com.fr.design.gui.iscrollbar.UIScrollBarUI ScrollBarUI=com.formdev.flatlaf.ui.FlatScrollBarUI
ScrollPaneUI=com.formdev.flatlaf.ui.FlatScrollPaneUI ScrollPaneUI=com.formdev.flatlaf.ui.FlatScrollPaneUI
SeparatorUI=com.formdev.flatlaf.ui.FlatSeparatorUI SeparatorUI=com.formdev.flatlaf.ui.FlatSeparatorUI
SliderUI=com.fine.theme.light.ui.FineSliderUI SliderUI=com.fine.theme.light.ui.FineSliderUI

Loading…
Cancel
Save