diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/ToolbarListPageSkin.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/ToolbarListPageSkin.java index 0e9ecb026..317f45f75 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/ToolbarListPageSkin.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/ToolbarListPageSkin.java @@ -46,7 +46,6 @@ public abstract class ToolbarListPageSkin> extends spinnerPane.loadingProperty().bind(skinnable.loadingProperty()); spinnerPane.failedReasonProperty().bind(skinnable.failedReasonProperty()); spinnerPane.onFailedActionProperty().bind(skinnable.onFailedActionProperty()); - spinnerPane.getStyleClass().add("large-spinner-pane"); ComponentList root = new ComponentList(); root.getStyleClass().add("no-padding"); diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/ModpackPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/ModpackPage.java index 192e6bc83..9e6602266 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/ModpackPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/download/ModpackPage.java @@ -33,8 +33,6 @@ public abstract class ModpackPage extends SpinnerPane implements WizardPage { protected ModpackPage(WizardController controller) { this.controller = controller; - this.getStyleClass().add("large-spinner-pane"); - VBox borderPane = new VBox(); borderPane.setAlignment(Pos.CENTER); FXUtils.setLimitWidth(borderPane, 500); diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DatapackListPageSkin.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DatapackListPageSkin.java index d77e714de..b74cb17bb 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DatapackListPageSkin.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DatapackListPageSkin.java @@ -183,7 +183,6 @@ final class DatapackListPageSkin extends SkinBase { { SpinnerPane center = new SpinnerPane(); ComponentList.setVgrow(center, Priority.ALWAYS); - center.getStyleClass().add("large-spinner-pane"); center.loadingProperty().bind(skinnable.loadingProperty()); listView.setCellFactory(x -> new DatapackInfoListCell(listView, getSkinnable().readOnly)); diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModListPageSkin.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModListPageSkin.java index d3fea4f1b..ba17e0e2b 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModListPageSkin.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModListPageSkin.java @@ -199,7 +199,6 @@ final class ModListPageSkin extends SkinBase { { SpinnerPane center = new SpinnerPane(); ComponentList.setVgrow(center, Priority.ALWAYS); - center.getStyleClass().add("large-spinner-pane"); center.loadingProperty().bind(skinnable.loadingProperty()); listView.setCellFactory(x -> new ModInfoListCell(listView)); diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ResourcepackListPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ResourcepackListPage.java index 075bf4658..bd321b461 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ResourcepackListPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ResourcepackListPage.java @@ -156,7 +156,6 @@ public final class ResourcepackListPage extends ListPageBase new ResourcepackListCell(listView, control)); diff --git a/HMCL/src/main/resources/assets/css/root.css b/HMCL/src/main/resources/assets/css/root.css index ff43d3320..8217e7fda 100644 --- a/HMCL/src/main/resources/assets/css/root.css +++ b/HMCL/src/main/resources/assets/css/root.css @@ -1416,14 +1416,6 @@ -fx-stroke-width: 3.0; } -.large-spinner-pane .jfx-spinner { - -jfx-radius: 20; -} - -.large-spinner-pane .jfx-spinner { - -fx-stroke-width: 5.0; -} - .second-spinner { -jfx-radius: 30; }