update to JFoenix 8.0.9

* added a promptText to the search ChipView
This commit is contained in:
Jannik 2019-06-08 13:48:16 +02:00
parent 61980905e3
commit 39c358c00f
Signed by: Seil0
GPG Key ID: E8459F3723C52C24
4 changed files with 19 additions and 2 deletions

View File

@ -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'
}

View File

@ -55,7 +55,6 @@ class DetailView: View() {
}
}
// TODO add "Import" Btn
}
style {

View File

@ -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;"

View File

@ -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;
}