Browse Source

REPORT-127437 fix:setui 调整

newui
lemon 4 months ago
parent
commit
e6e2ff531a
  1. 5
      designer-base/src/main/java/com/fr/design/gui/iscrollbar/UIVerticalScrollBar.java
  2. 1
      designer-base/src/main/resources/com/fine/theme/light/ui/laf/FineLaf.properties

5
designer-base/src/main/java/com/fr/design/gui/iscrollbar/UIVerticalScrollBar.java

@ -12,6 +12,7 @@ import javax.swing.JTable;
* Created on * Created on
*/ */
public class UIVerticalScrollBar extends UIScrollBar { public class UIVerticalScrollBar extends UIScrollBar {
private static final String UI_CLASS_ID = "TableVerticalBarUI";
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public UIVerticalScrollBar() { public UIVerticalScrollBar() {
@ -22,4 +23,8 @@ public class UIVerticalScrollBar extends UIScrollBar {
this.setUI(new FineTableScrollBarPaneUI(table)); this.setUI(new FineTableScrollBarPaneUI(table));
} }
public String getUIClassID() {
return UI_CLASS_ID;
}
} }

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

@ -34,6 +34,7 @@ SpinnerUI=com.formdev.flatlaf.ui.FlatSpinnerUI
SplitPaneUI=com.formdev.flatlaf.ui.FlatSplitPaneUI SplitPaneUI=com.formdev.flatlaf.ui.FlatSplitPaneUI
TabbedPaneUI=com.formdev.flatlaf.ui.FlatTabbedPaneUI TabbedPaneUI=com.formdev.flatlaf.ui.FlatTabbedPaneUI
TableUI=com.formdev.flatlaf.ui.FlatTableUI TableUI=com.formdev.flatlaf.ui.FlatTableUI
TableVerticalBarUI=com.fine.theme.light.ui.FineTableScrollBarPaneUI
TableHeaderUI=com.fine.theme.light.ui.FineTableHeaderUI TableHeaderUI=com.fine.theme.light.ui.FineTableHeaderUI
TextAreaUI=com.formdev.flatlaf.ui.FlatTextAreaUI TextAreaUI=com.formdev.flatlaf.ui.FlatTextAreaUI
TextFieldUI=com.formdev.flatlaf.ui.FlatTextFieldUI TextFieldUI=com.formdev.flatlaf.ui.FlatTextFieldUI

Loading…
Cancel
Save