update to JFoenix 8.0.9
* added a promptText to the search ChipView
This commit is contained in:
parent
61980905e3
commit
39c358c00f
@ -27,7 +27,7 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||||
implementation "no.tornado:tornadofx:$tornadofx_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'
|
implementation 'com.google.code.gson:gson:2.8.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,6 @@ class DetailView: View() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO add "Import" Btn
|
|
||||||
}
|
}
|
||||||
|
|
||||||
style {
|
style {
|
||||||
|
@ -47,6 +47,7 @@ class MainView : View() {
|
|||||||
right = detailView.root
|
right = detailView.root
|
||||||
|
|
||||||
style {
|
style {
|
||||||
|
cvSearch.promptText = "Suche"
|
||||||
cvSearch.paddingAll = 5.0
|
cvSearch.paddingAll = 5.0
|
||||||
cvSearch.minHeight = 70.0
|
cvSearch.minHeight = 70.0
|
||||||
cvSearch.style = "-fx-background-color: #53585b; -fx-text-inner-color: #b15b2e;"
|
cvSearch.style = "-fx-background-color: #53585b; -fx-text-inner-color: #b15b2e;"
|
||||||
|
@ -90,3 +90,20 @@
|
|||||||
-jfx-button-type: RAISED;
|
-jfx-button-type: RAISED;
|
||||||
-fx-font-size: 25px
|
-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;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user