Skip to content

Commit 101a9b5

Browse files
authored
禁止在 LogWindow 中显示横向滚动条 (#5935)
1 parent 7cd79a4 commit 101a9b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ private final class LogWindowImpl extends Control {
170170
LogWindowImpl() {
171171
getStyleClass().add("log-window");
172172

173+
listView.getStyleClass().add("no-horizontal-scrollbar");
173174
listView.getProperties().put("no-smooth-scrolling", true);
174175
listView.setItems(FXCollections.observableList(new CircularArrayList<>(logs.size())));
175176

0 commit comments

Comments
 (0)