Fixed visual bug.

This commit is contained in:
Chris Cromer 2016-08-14 19:41:01 -03:00
parent af120fdd34
commit 66052e64da
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
path.variable.kotlin_bundled=/usr/share/intellij-idea-ultimate-edition/plugins/Kotlin/kotlinc path.variable.kotlin_bundled=C\:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 2016.1.3\\plugins\\Kotlin\\kotlinc
path.variable.maven_repository=/home/cromer/.m2/repository path.variable.maven_repository=C\:\\Users\\Chris Cromer\\.m2\\repository
jdk.home.1.8=/usr/lib/jvm/java-8-jdk jdk.home.1.8=C\:/Program Files/Java/jdk1.8.0_92
idea.home=/usr/share/intellij-idea-ultimate-edition idea.home=C\:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 2016.1.3
javac2.instrumentation.includeJavaRuntime=false javac2.instrumentation.includeJavaRuntime=false

View File

@ -299,7 +299,7 @@ public class MenuController extends VBox implements Initializable {
dialog.getDialogPane().getButtonTypes().add(botonCancelar); dialog.getDialogPane().getButtonTypes().add(botonCancelar);
dialog.getDialogPane().getButtonTypes().add(botonCambiar); dialog.getDialogPane().getButtonTypes().add(botonCambiar);
dialog.getDialogPane().getScene().getWindow().sizeToScene(); dialog.getDialogPane().getScene().getWindow().sizeToScene();
dialog.getDialogPane().setPrefHeight(125); dialog.getDialogPane().setPrefHeight(150);
dialog.getDialogPane().setPrefWidth(400); dialog.getDialogPane().setPrefWidth(400);
Main.setIcon(dialog, getClass()); Main.setIcon(dialog, getClass());
@ -333,7 +333,7 @@ public class MenuController extends VBox implements Initializable {
dialog.getDialogPane().getButtonTypes().add(botonCancelar); dialog.getDialogPane().getButtonTypes().add(botonCancelar);
dialog.getDialogPane().getButtonTypes().add(botonCambiar); dialog.getDialogPane().getButtonTypes().add(botonCambiar);
dialog.getDialogPane().getScene().getWindow().sizeToScene(); dialog.getDialogPane().getScene().getWindow().sizeToScene();
dialog.getDialogPane().setPrefHeight(125); dialog.getDialogPane().setPrefHeight(150);
dialog.getDialogPane().setPrefWidth(400); dialog.getDialogPane().setPrefWidth(400);
Main.setIcon(dialog, getClass()); Main.setIcon(dialog, getClass());

View File

@ -8,7 +8,7 @@
<?import javafx.scene.text.Text?> <?import javafx.scene.text.Text?>
<?import javafx.scene.control.Button?> <?import javafx.scene.control.Button?>
<?import javafx.geometry.Insets?> <?import javafx.geometry.Insets?>
<VBox xmlns:fx="http://javafx.com/fxml/1" prefWidth="200" <VBox xmlns:fx="http://javafx.com/fxml/1" prefWidth="300"
xmlns="http://javafx.com/javafx/8.0.92" fx:controller="cl.cromer.estructuras.ConfigController"> xmlns="http://javafx.com/javafx/8.0.92" fx:controller="cl.cromer.estructuras.ConfigController">
<padding> <padding>
<Insets top="10" bottom="10" left="10" right="10"/> <Insets top="10" bottom="10" left="10" right="10"/>
@ -16,7 +16,7 @@
<VBox spacing="10"> <VBox spacing="10">
<HBox alignment="CENTER" VBox.vgrow="ALWAYS" spacing="10"> <HBox alignment="CENTER" VBox.vgrow="ALWAYS" spacing="10">
<Text text="%configColores"/> <Text text="%configColores"/>
<ComboBox fx:id="colors" prefWidth="55" onAction="#changeColor"> <ComboBox fx:id="colors" prefWidth="70" onAction="#changeColor">
<items> <items>
<!--<FXCollections fx:factory="observableArrayList"> <!--<FXCollections fx:factory="observableArrayList">
<String fx:value="1" /> <String fx:value="1" />