Skip to content

Commit 0cc0b21

Browse files
Fix #5340: 修复不透明度数值标签可能被折叠的问题 (#5374)
1 parent a524ba8 commit 0cc0b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HMCL/src/main/java/org/jackhuang/hmcl/ui/main/PersonalizationPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void changed(ObservableValue<? extends EnumBackgroundImage> observable, E
180180
}
181181

182182
Label textOpacity = new Label();
183-
FXUtils.setLimitWidth(textOpacity, 35);
183+
FXUtils.setLimitWidth(textOpacity, 50);
184184

185185
StringBinding valueBinding = Bindings.createStringBinding(() -> ((int) slider.getValue()) + "%", slider.valueProperty());
186186
textOpacity.textProperty().bind(valueBinding);

0 commit comments

Comments
 (0)