优化实例列表,限制宽度防止出现水平滚动条 (#5243)
This commit is contained in:
@@ -82,6 +82,7 @@ public final class GameListCell extends ListCell<GameListItem> {
|
||||
{
|
||||
HBox center = new HBox();
|
||||
root.setCenter(center);
|
||||
center.setPrefWidth(Region.USE_PREF_SIZE);
|
||||
center.setSpacing(8);
|
||||
center.setAlignment(Pos.CENTER_LEFT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user