upd: fxml.model (added menu-side) | upd: css.menu (?) | add: src.menu.* (added png icons for menu)

This commit is contained in:
xdrm-brackets 2017-12-12 08:23:39 +01:00
parent 217d64e44e
commit aebf05249b
6 changed files with 59 additions and 2 deletions

View File

@ -29,4 +29,9 @@
-fx-background-color: #fffffd; -fx-background-color: #fffffd;
}
.menu_item{
-fx-border-width: 0 0 1 0;
-fx-border-color: #dddddd
} }

View File

@ -36,11 +36,11 @@
</ImageView> </ImageView>
<Pane prefHeight="56.0" prefWidth="125.0"> <Pane prefHeight="56.0" prefWidth="125.0">
<children> <children>
<Text fill="#838383" layoutX="4.0" layoutY="40.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Designer of App"> <Text fill="#838383" layoutX="4.0" layoutY="40.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Niveau B2">
<font> <font>
<Font name="Lato Regular" size="11.0" /> <Font name="Lato Regular" size="11.0" />
</font></Text> </font></Text>
<Text fill="#545454" layoutX="4.0" layoutY="23.0" strokeType="OUTSIDE" strokeWidth="0.0" text="ADRIEN MARQUES" wrappingWidth="120.7770004272461"> <Text fill="#545454" layoutX="4.0" layoutY="23.0" strokeType="OUTSIDE" strokeWidth="0.0" text="nom utilisateur" wrappingWidth="120.7770004272461">
<font> <font>
<Font name="Lato Regular" size="13.0" /> <Font name="Lato Regular" size="13.0" />
</font> </font>
@ -49,6 +49,58 @@
</Pane> </Pane>
</children> </children>
</FlowPane> </FlowPane>
<FlowPane alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="124.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
<children>
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
<FlowPane.margin>
<Insets right="20.0" />
</FlowPane.margin>
<image>
<Image url="@../../../../git.xdrm.io/javafx-p1/src/menu/dictionary.png" />
</image>
</ImageView>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Dictionnaire" />
</children>
</FlowPane>
<FlowPane alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="182.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
<children>
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
<FlowPane.margin>
<Insets right="20.0" />
</FlowPane.margin>
<image>
<Image url="@../../../../git.xdrm.io/javafx-p1/src/menu/exercises.png" />
</image>
</ImageView>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Excercices" />
</children>
</FlowPane>
<FlowPane alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="240.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
<children>
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
<FlowPane.margin>
<Insets right="20.0" />
</FlowPane.margin>
<image>
<Image url="@../../../../git.xdrm.io/javafx-p1/src/menu/translator.png" />
</image>
</ImageView>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Traducteur" />
</children>
</FlowPane>
<FlowPane alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="240.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
<children>
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
<FlowPane.margin>
<Insets right="20.0" />
</FlowPane.margin>
<image>
<Image url="@../../../../git.xdrm.io/javafx-p1/src/menu/magazines.png" />
</image>
</ImageView>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Magazines" />
</children>
</FlowPane>
</children> </children>
</VBox> </VBox>
</children> </children>

BIN
src/menu/dictionary.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

BIN
src/menu/exercises.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
src/menu/magazines.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

BIN
src/menu/translator.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B