now css for container

This commit is contained in:
xdrm-brackets 2017-12-12 14:03:33 +01:00
parent 46950b211d
commit f1b1740af2
3 changed files with 17 additions and 16 deletions

16
css/container.css Normal file
View File

@ -0,0 +1,16 @@
@import "./constants.css";
#mag_searchbar{
-fx-border-radius: 0 0 1 0;
-fx-background-color: #ffffff;
-fx-border-color: #eeeeee;
-fx-background-radius: 0;
-fx-border-radius: 0;
-fx-pref-height: 26;
-fx-pref-width: 759;
-fx-margin: 20 0 20 0;
}

View File

@ -45,19 +45,4 @@
#submenu{ #submenu{
-fx-background-color: null; -fx-background-color: null;
}
#mag_searchbar{
-fx-border-radius: 0 0 1 0;
-fx-background-color: #ffffff;
-fx-border-color: #eeeeee;
-fx-background-radius: 0;
-fx-border-radius: 0;
-fx-pref-height: 26;
-fx-pref-width: 759;
-fx-margin: 20 0 20 0;
} }

View File

@ -311,7 +311,7 @@
</children></VBox> </children></VBox>
<ScrollPane id="scroll_container" hbarPolicy="NEVER" pickOnBounds="false" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="400.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="50.0"> <ScrollPane id="scroll_container" hbarPolicy="NEVER" pickOnBounds="false" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="400.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="50.0">
<content> <content>
<FlowPane id="container" fx:id="container" alignment="TOP_CENTER" columnHalignment="CENTER" prefHeight="650.0" prefWrapLength="1000.0"> <FlowPane id="container" fx:id="container" alignment="TOP_CENTER" columnHalignment="CENTER" prefHeight="650.0" prefWrapLength="1000.0" stylesheets="@../css/container.css">
<children> <children>
<TextField id="mag_searchbar" fx:id="mag_searchbar" prefHeight="26.0" prefWidth="759.0" promptText="Search..."> <TextField id="mag_searchbar" fx:id="mag_searchbar" prefHeight="26.0" prefWidth="759.0" promptText="Search...">
<FlowPane.margin> <FlowPane.margin>