Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Improved Ariane
Browse files Browse the repository at this point in the history
  • Loading branch information
Rauks committed Nov 20, 2013
1 parent 1e92c61 commit 10b375c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions BigBrother-Gui/src/bigbrother/gui/BigBrotherGui.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<center>
<Accordion>
<expandedPane>
<TitledPane fx:id="x1" animated="false" collapsible="false" text="">
<TitledPane fx:id="x1" animated="false" collapsible="false" contentDisplay="RIGHT" graphicTextGap="4.0" text="Chaîne d'héritage :" textFill="#606060">
<content>
<ScrollPane fx:id="scrollPane" disable="false" fitToHeight="true" fitToWidth="true">
<content>
Expand All @@ -44,7 +44,7 @@
</ScrollPane>
</content>
<graphic>
<HBox fx:id="arianeBox" prefHeight="-1.0" prefWidth="-1.0" spacing="5.0" />
<HBox fx:id="arianeBox" alignment="TOP_LEFT" prefHeight="-1.0" prefWidth="-1.0" spacing="5.0" />
</graphic>
</TitledPane>
</expandedPane>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public void handle(MouseEvent t) {
this.arianeBox.getChildren().add(label);
}
else{
this.arianeBox.getChildren().add(new Label("[Objet Primitif]"));
return;
}
} catch (ObservableClassException ex) {
this.arianeBox.getChildren().add(new Label("?"));
Expand All @@ -315,10 +315,6 @@ public void handle(MouseEvent t) {
}

private void buildAriane(ObservableClass classe){
Label labelTitle = new Label("Chaine d'héritage : ");
labelTitle.setTextFill(Color.GRAY);
this.arianeBox.getChildren().add(labelTitle);

this.buildArianeStep(classe);

Label label = new Label(classe.getSimpleName());
Expand Down

0 comments on commit 10b375c

Please sign in to comment.