update to JFoenix 8.0.9
* added a promptText to the search ChipView
This commit is contained in:
		@ -27,7 +27,7 @@ repositories {
 | 
			
		||||
dependencies {
 | 
			
		||||
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
 | 
			
		||||
    implementation "no.tornado:tornadofx:$tornadofx_version"
 | 
			
		||||
    implementation "com.jfoenix:jfoenix:8.0.8"
 | 
			
		||||
    implementation "com.jfoenix:jfoenix:8.0.9"
 | 
			
		||||
    implementation 'com.google.code.gson:gson:2.8.5'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -55,7 +55,6 @@ class DetailView: View() {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            // TODO add "Import" Btn
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        style {
 | 
			
		||||
 | 
			
		||||
@ -47,6 +47,7 @@ class MainView : View() {
 | 
			
		||||
        right = detailView.root
 | 
			
		||||
 | 
			
		||||
        style {
 | 
			
		||||
            cvSearch.promptText = "Suche"
 | 
			
		||||
            cvSearch.paddingAll = 5.0
 | 
			
		||||
            cvSearch.minHeight = 70.0
 | 
			
		||||
            cvSearch.style = "-fx-background-color: #53585b; -fx-text-inner-color: #b15b2e;"
 | 
			
		||||
 | 
			
		||||
@ -90,3 +90,20 @@
 | 
			
		||||
    -jfx-button-type: RAISED;
 | 
			
		||||
    -fx-font-size: 25px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*******************************************************************************
 | 
			
		||||
 *                                                                             *
 | 
			
		||||
 * ChipView		                                                               *
 | 
			
		||||
 *                                                                             *
 | 
			
		||||
 ******************************************************************************/
 | 
			
		||||
 | 
			
		||||
.jfx-chip-view .jfx-chip > HBox {
 | 
			
		||||
    -fx-font-family: "Roboto Medium";
 | 
			
		||||
    -fx-font-size: 14.0;
 | 
			
		||||
    -fx-background-color: #E0E0E0;
 | 
			
		||||
    -fx-background-radius: 40px;
 | 
			
		||||
    -fx-padding: 5px 8px 5px 12px;
 | 
			
		||||
    -fx-pref-height: 32px;
 | 
			
		||||
    -fx-alignment: center-left;
 | 
			
		||||
    -fx-spacing: 8;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user