本文整理了Java中javafx.scene.layout.BorderPane.setPrefHeight()
方法的一些代码示例,展示了BorderPane.setPrefHeight()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。BorderPane.setPrefHeight()
方法的具体详情如下:
包路径:javafx.scene.layout.BorderPane
类名称:BorderPane
方法名:setPrefHeight
暂无
代码示例来源:origin: stackoverflow.com
mainPane.setPrefSize(500,200);
slider = new BorderPane();
slider.setPrefHeight(200);
mainPane.setStyle("-fx-background-color: chartreuse");
slider.setStyle("-fx-background-color: aqua");
代码示例来源:origin: nl.cloudfarming.client/calendar-api
hiddenPaneInner.setPrefWidth(HIDDEN_LIST_VIEW_HEIGHT);
hiddenPaneInner.setMinWidth(HIDDEN_LIST_VIEW_HEIGHT);
hiddenPaneInner.setPrefHeight(HIDDEN_LIST_VIEW_WIDTH); //its rotated, co width is height
hiddenPaneInner.setMinHeight(HIDDEN_LIST_VIEW_WIDTH);
代码示例来源:origin: io.github.factoryfx/javafxDataEditing
Rectangle2D screenBounds = screen.getBounds();
pane.setPrefWidth(screenBounds.getWidth()/3);
pane.setPrefHeight(screenBounds.getHeight()/2);
dialog.getDialogPane().setContent(pane);
dialog.setResizable(true);
代码示例来源:origin: at.bestsolution.eclipse/org.eclipse.fx.text.ui
this.stage.setHeight(200);
BorderPane p = new BorderPane();
p.setPrefHeight(200);
p.setPrefWidth(400);
this.stage.getScene().addEventFilter(KeyEvent.KEY_TYPED, this::handleKeyTyped);
代码示例来源:origin: stackoverflow.com
top.setPrefHeight(33);
top.setLeft(setBaseTitle());
top.setRight(setBaseButtons());
内容来源于网络,如有侵权,请联系作者删除!