完善vip 解析 2023年2月17日16:45:39

master
zhangmeng 2023-02-17 18:15:25 +08:00
parent 2d9f3e745a
commit ce74eed863
1 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,8 @@ public class PlayerController {
@FXML
private SplitPane splitPane;
private MediaView view;
public static final String color_cell = "#f4f4f4";
@FXML
@ -213,6 +215,9 @@ public class PlayerController {
log.info("player:--->height:{}", height);
}
});
view = (MediaView)root.lookup("#mv");
view.fitHeightProperty().bind(root.heightProperty());
view.fitWidthProperty().bind(root.widthProperty());
this.width.addListener((observable, oldValue, newValue) -> {
PlayerController.this.root.setPrefWidth(newValue.doubleValue() - listView.getWidth());