mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-16 15:26:27 -04:00
fix: horizontal scroll bar should not appear.
This commit is contained in:
parent
ff3fa31c25
commit
cbe5e3a9ff
@ -128,9 +128,11 @@ public class GameListPage extends ListPageBase<GameListItem> implements Decorato
|
||||
addProfileItem.setOnAction(e -> Controllers.navigate(new ProfilePage(null)));
|
||||
|
||||
ScrollPane pane = new ScrollPane();
|
||||
pane.setFitToWidth(true);
|
||||
VBox wrapper = new VBox();
|
||||
wrapper.getStyleClass().add("advanced-list-box-content");
|
||||
VBox box = new VBox();
|
||||
box.setFillWidth(true);
|
||||
Bindings.bindContent(box.getChildren(), profileListItems);
|
||||
wrapper.getChildren().setAll(box, addProfileItem);
|
||||
pane.setContent(wrapper);
|
||||
|
Loading…
x
Reference in New Issue
Block a user