fix dialogs pane background
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<?import ru.trader.view.support.cells.OfferCellValueImpl?>
|
||||
<?import ru.trader.view.support.cells.OfferTableCell?>
|
||||
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="ru.trader.controllers.OrdersController">
|
||||
fx:controller="ru.trader.controllers.OrdersController" styleClass="dialog">
|
||||
<TableView fx:id="tblOrders" editable="true">
|
||||
<columns>
|
||||
<TableColumn minWidth="200.0" prefWidth="200.0" text="Товар">
|
||||
|
||||
@@ -8,4 +8,36 @@
|
||||
-fx-font-weight: bold;
|
||||
}
|
||||
|
||||
.table-view:focused {
|
||||
-fx-background-color: -fx-box-border, -fx-control-inner-background;
|
||||
-fx-background-insets: 0,1;
|
||||
-fx-background-radius: 0, 0;
|
||||
}
|
||||
|
||||
HBox.fields-group {
|
||||
-fx-spacing: 2;
|
||||
-fx-padding: 5 10;
|
||||
-fx-alignment: baseline-left;
|
||||
}
|
||||
|
||||
HBox.fields-group hbox-margin{
|
||||
-fx-left: 100px;
|
||||
}
|
||||
|
||||
|
||||
/* Dialogs */
|
||||
.dialog {
|
||||
-fx-background-color: inherit;
|
||||
}
|
||||
|
||||
/* Items */
|
||||
|
||||
#tblItems {
|
||||
-fx-padding: 0;
|
||||
}
|
||||
|
||||
/* support styles */
|
||||
|
||||
.center {
|
||||
-fx-alignment: center;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<?import javafx.scene.control.cell.PropertyValueFactory?>
|
||||
|
||||
<VBox xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/8"
|
||||
fx:controller="ru.trader.controllers.VendorEditorController">
|
||||
fx:controller="ru.trader.controllers.VendorEditorController" styleClass="dialog">
|
||||
<HBox alignment="CENTER" GridPane.columnSpan="3">
|
||||
<TextField fx:id="name" alignment="CENTER"/>
|
||||
</HBox>
|
||||
|
||||
Reference in New Issue
Block a user