made choicebox matreial styled
* made choicebox matreial styled * little code clean up
This commit is contained in:
		| @ -20,10 +20,11 @@ | ||||
| 	<classpathentry kind="src" path="src/test/main"/> | ||||
| 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-9"> | ||||
| 		<attributes> | ||||
| 			<attribute name="module" value="true"/> | ||||
| 			<attribute name="maven.pomderived" value="true"/> | ||||
| 		</attributes> | ||||
| 	</classpathentry> | ||||
| 	<classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/> | ||||
| 	<classpathentry exported="true" kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/> | ||||
| 	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||||
| 		<attributes> | ||||
| 			<attribute name="maven.pomderived" value="true"/> | ||||
|  | ||||
							
								
								
									
										1
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								pom.xml
									
									
									
									
									
								
							| @ -179,6 +179,7 @@ | ||||
|    | ||||
|   <build> | ||||
|     <plugins> | ||||
|          | ||||
|         <plugin>  | ||||
|             <groupId>org.apache.maven.plugins</groupId>  | ||||
|             <artifactId>maven-compiler-plugin</artifactId>  | ||||
|  | ||||
| @ -1298,7 +1298,6 @@ public class MainWindowController { | ||||
|     public void reloadRoms() { | ||||
|     	JFXSpinner spinner = new JFXSpinner(); | ||||
| 		spinner.setPrefSize(30, 30); | ||||
| 		spinner.setStyle(" -fx-background-color: #f4f4f4;"); | ||||
| 		AnchorPane.setTopAnchor(spinner, (main.getPane().getPrefHeight()-spinner.getPrefHeight())/2); | ||||
|     	AnchorPane.setLeftAnchor(spinner, (main.getPane().getPrefWidth()-spinner.getPrefWidth())/2); | ||||
|     	 | ||||
|  | ||||
| @ -81,6 +81,38 @@ | ||||
|     -fx-background-color: -fx-tree-table-color, -fx-box-border, -fx-control-inner-background; | ||||
|     -fx-background-insets: -1.4, 0, 1; | ||||
|     -fx-background-radius: 1.4, 0, 0; | ||||
|     /*....*/ | ||||
|     -fx-padding: 1; /* 0.083333em; */ | ||||
| } | ||||
| } | ||||
|  | ||||
| /* | ||||
|  * ChoiceBox | ||||
|  */ | ||||
|   | ||||
|  | ||||
| .choice-box { | ||||
| 	-fx-background-color: transparent; | ||||
| 	-fx-border-color: #000000; | ||||
| 	-fx-border-width: 0 0 1 0; | ||||
| 	-fx-background-radius: 0; | ||||
| 	-fx-border-radius: 0; | ||||
| } | ||||
|  | ||||
| .choice-box:focused { | ||||
| 	-fx-border-color: #9E9E9E; | ||||
| } | ||||
|  | ||||
| .choice-box>.open-button>.arrow { | ||||
| 	-fx-background-color: #757575; | ||||
| } | ||||
|  | ||||
| .menu-item:focused { | ||||
| 	-fx-background-color: #00A8CC; | ||||
| } | ||||
|  | ||||
| /* | ||||
|  * Spinner | ||||
|  */ | ||||
| .spinner { | ||||
| 	-fx-background-color: #f4f4f4; | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user