完善vip 解析 2023年2月17日16:45:39
parent
2d9f3e745a
commit
ce74eed863
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue