Showing labels of EnterTanDialog now in bold so that user can easily recognize them
This commit is contained in:
parent
67eb42591f
commit
fe47108fa0
|
@ -20,13 +20,14 @@
|
|||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/dialog_enter_tan_select_tan_procedure"
|
||||
android:layout_marginRight="@dimen/dialog_enter_tan_tan_procedure_label_right_margin"
|
||||
android:layout_marginEnd="@dimen/dialog_enter_tan_tan_procedure_label_right_margin"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="@dimen/dialog_enter_tan_tan_procedure_text_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dialog_enter_tan_tan_procedure_label_right_margin"
|
||||
android:layout_marginEnd="@dimen/dialog_enter_tan_tan_procedure_label_right_margin"
|
||||
android:gravity="center_vertical"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/dialog_enter_tan_tan_procedure_text_size"
|
||||
android:text="@string/dialog_enter_tan_select_tan_procedure"
|
||||
/>
|
||||
|
||||
<Spinner
|
||||
|
@ -49,13 +50,14 @@
|
|||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/dialog_enter_tan_select_tan_medium"
|
||||
android:layout_marginRight="@dimen/dialog_enter_tan_tan_medium_label_right_margin"
|
||||
android:layout_marginEnd="@dimen/dialog_enter_tan_tan_medium_label_right_margin"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="@dimen/dialog_enter_tan_tan_medium_text_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dialog_enter_tan_tan_medium_label_right_margin"
|
||||
android:layout_marginEnd="@dimen/dialog_enter_tan_tan_medium_label_right_margin"
|
||||
android:gravity="center_vertical"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/dialog_enter_tan_tan_medium_text_size"
|
||||
android:text="@string/dialog_enter_tan_select_tan_medium"
|
||||
/>
|
||||
|
||||
<Spinner
|
||||
|
@ -119,6 +121,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/dialog_enter_tan_enter_tan"
|
||||
/>
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ import javafx.beans.property.SimpleObjectProperty
|
|||
import javafx.beans.property.SimpleStringProperty
|
||||
import javafx.geometry.Insets
|
||||
import javafx.geometry.Pos
|
||||
import javafx.scene.text.Font
|
||||
import javafx.scene.text.FontWeight
|
||||
import net.dankito.banking.ui.javafx.dialogs.tan.controls.ChipTanFlickerCodeView
|
||||
import net.dankito.banking.ui.javafx.dialogs.JavaFxDialogService
|
||||
import net.dankito.banking.ui.javafx.dialogs.tan.controls.TanImageView
|
||||
|
@ -70,6 +72,10 @@ open class EnterTanDialog(
|
|||
form {
|
||||
fieldset {
|
||||
field(messages["enter.tan.dialog.select.tan.procedure"]) {
|
||||
label.apply {
|
||||
font = Font.font(font.family, FontWeight.BLACK, font.size)
|
||||
}
|
||||
|
||||
combobox(selectedTanProcedure, tanProceduresWithoutUnsupported) {
|
||||
cellFormat {
|
||||
text = it.displayName
|
||||
|
@ -79,6 +85,10 @@ open class EnterTanDialog(
|
|||
|
||||
if (account.tanMediaSorted.isNotEmpty()) {
|
||||
field(messages["enter.tan.dialog.select.tan.medium"]) {
|
||||
label.apply {
|
||||
font = Font.font(font.family, FontWeight.BLACK, font.size)
|
||||
}
|
||||
|
||||
combobox(selectedTanMedium, account.tanMediaSorted) {
|
||||
cellFormat {
|
||||
text = it.displayName
|
||||
|
@ -128,6 +138,7 @@ open class EnterTanDialog(
|
|||
}
|
||||
|
||||
label(messages["enter.tan.dialog.hint.from.bank"]) {
|
||||
font = Font.font(font.family, FontWeight.BLACK, font.size)
|
||||
|
||||
vboxConstraints {
|
||||
marginTopBottom(6.0)
|
||||
|
@ -150,7 +161,9 @@ open class EnterTanDialog(
|
|||
hbox {
|
||||
alignment = Pos.CENTER_LEFT
|
||||
|
||||
label(messages["enter.tan.dialog.enter.tan.label"])
|
||||
label(messages["enter.tan.dialog.enter.tan.label"]) {
|
||||
font = Font.font(font.family, FontWeight.BLACK, font.size)
|
||||
}
|
||||
|
||||
textfield(enteredTan) {
|
||||
prefHeight = 30.0
|
||||
|
|
Loading…
Reference in New Issue