mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-27 08:55:22 -04:00
set coloring of table header
This commit is contained in:
parent
7bc24d77e0
commit
ce89cea0e3
3 changed files with 10 additions and 4 deletions
|
@ -1131,6 +1131,14 @@ textfield */
|
|||
|
||||
.table-view .column-header.first-column {
|
||||
-fx-padding: 0 0 0 10;
|
||||
-fx-background-radius: 15 0 0 0;
|
||||
-fx-border-radius: 15 0 0 0;
|
||||
}
|
||||
|
||||
.table-view .column-header.last-column {
|
||||
-fx-background-radius: 0 15 0 0;
|
||||
-fx-border-radius: 0 15 0 0;
|
||||
|
||||
}
|
||||
|
||||
.number-column.table-cell {
|
||||
|
@ -1169,8 +1177,6 @@ textfield */
|
|||
-fx-background-color: transparent;
|
||||
-fx-border-color: transparent;
|
||||
-fx-padding: 0;
|
||||
-fx-background-radius: 10 10 0 0;
|
||||
-fx-border-radius: 10 10 0 0;
|
||||
}
|
||||
|
||||
.table-view .text {
|
||||
|
|
|
@ -1069,7 +1069,6 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
|
|||
setSortable(false);
|
||||
}
|
||||
};
|
||||
column.getStyleClass().addAll("last-column", "avatar-column");
|
||||
column.setCellValueFactory((offer) -> new ReadOnlyObjectWrapper<>(offer.getValue()));
|
||||
column.setCellFactory(
|
||||
new Callback<>() {
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
-bs-color-gray-background: black;
|
||||
-bs-color-background-button-background: rgb(18, 18, 18);
|
||||
-bs-color-background-button-border: rgb(51, 51, 51);
|
||||
-bs-color-background-table-header: rgb(15, 15, 15);
|
||||
|
||||
/* lesser used colors */
|
||||
-bs-color-blue-5: #0a4576;
|
||||
|
@ -170,7 +171,7 @@
|
|||
}
|
||||
|
||||
.table-view .column-header {
|
||||
-fx-background-color: derive(-bs-background-color,-50%);
|
||||
-fx-background-color: -bs-color-background-table-header;
|
||||
-fx-border-width: 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue