Browse Source

Fixed visual bug.

master
Chris Cromer 5 years ago
parent
commit
66052e64da
  1. 8
      estructuras_de_datos.properties
  2. 4
      src/cl/cromer/estructuras/MenuController.java
  3. 4
      src/cl/cromer/estructuras/fxml/config.fxml

8
estructuras_de_datos.properties

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

4
src/cl/cromer/estructuras/MenuController.java

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

4
src/cl/cromer/estructuras/fxml/config.fxml

@ -8,7 +8,7 @@
<?import javafx.scene.text.Text?>
<?import javafx.scene.control.Button?>
<?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">
<padding>
<Insets top="10" bottom="10" left="10" right="10"/>
@ -16,7 +16,7 @@
<VBox spacing="10">
<HBox alignment="CENTER" VBox.vgrow="ALWAYS" spacing="10">
<Text text="%configColores"/>
<ComboBox fx:id="colors" prefWidth="55" onAction="#changeColor">
<ComboBox fx:id="colors" prefWidth="70" onAction="#changeColor">
<items>
<!--<FXCollections fx:factory="observableArrayList">
<String fx:value="1" />

Loading…
Cancel
Save