本文整理了Java中javafx.scene.layout.VBox.setMinWidth()
方法的一些代码示例,展示了VBox.setMinWidth()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。VBox.setMinWidth()
方法的具体详情如下:
包路径:javafx.scene.layout.VBox
类名称:VBox
方法名:setMinWidth
暂无
代码示例来源:origin: torakiki/pdfsam
@Inject
public PreferencePane(PreferenceAppearencePane appearence, PreferenceBehaviorPane behavior,
PreferenceWorkspacePane workspace, PreferenceOutputPane output) {
getStyleClass().add("dashboard-container");
VBox left = new VBox(Style.DEFAULT_SPACING);
left.setMinWidth(USE_PREF_SIZE);
addSectionTitle(DefaultI18nContext.getInstance().i18n("Appearance"), left);
left.getChildren().add(appearence);
addSectionTitle(DefaultI18nContext.getInstance().i18n("Behavior"), left);
left.getChildren().add(behavior);
VBox right = new VBox(Style.DEFAULT_SPACING);
HBox.setHgrow(right, Priority.ALWAYS);
addSectionTitle(DefaultI18nContext.getInstance().i18n("Workspace"), right);
right.getChildren().add(workspace);
addSectionTitle(DefaultI18nContext.getInstance().i18n("Output"), right);
right.getChildren().add(output);
getChildren().addAll(left, right);
}
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
/**
* @param width
*/
public void setContainerWidth(double width) {
allOverContainer.setMinWidth(width);
}
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
/**
* @param width
*/
public void setContainerWidth(double width) {
allOverContainer.setMinWidth(width);
}
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
/**
* @param width
*/
public void setContainerWidth(double width) {
allOverContainer.setMinWidth(width);
}
代码示例来源:origin: stackoverflow.com
double minWidth = 5 * item.length();
double maxWidth = 10 * item.length();
leftBox.setMinWidth(Math.max(minWidth, leftBox.getMinWidth()));
leftBox.setMaxWidth(maxWidth);
代码示例来源:origin: stackoverflow.com
layout.setMinWidth(400);
layout.setAlignment(Pos.CENTER);
layout.setPadding(new Insets(10));
代码示例来源:origin: stackoverflow.com
root.setMinWidth(240);
root.setAlignment(Pos.CENTER);
primaryStage.setScene(new Scene(root));
代码示例来源:origin: stackoverflow.com
nav.setMinWidth(100);
nav.getStyleClass().add("navbar");
代码示例来源:origin: stackoverflow.com
confirmationResults.setMinWidth(150);
HBox layout = new HBox();
layout.getChildren().addAll(confirmationResults, webView);
代码示例来源:origin: eu.mihosoft.vrl.workflow/vworkflows-fx
root.setMinWidth(Pane.USE_PREF_SIZE);
内容来源于网络,如有侵权,请联系作者删除!