good day.
I'am new in css. I have 2 tableviews and when loaded the file css the effect are in the 2 tableviews and I want the only one. Can you helpme please.
I'am new in css. I have 2 tableviews and when loaded the file css the effect are in the 2 tableviews and I want the only one. Can you helpme please.
B4X:
valida.Initialize("valida", 1600,900)
valida.WindowWidth = fx.PrimaryScreen.MaxX - fx.PrimaryScreen.MinX
valida.WindowLeft = fx.PrimaryScreen.MinX
valida.WindowHeight = fx.PrimaryScreen.MaxY - fx.PrimaryScreen.MinY
valida.WindowTop = fx.PrimaryScreen.MinY
valida.RootPane.LoadLayout("valida")
valida.Stylesheets.Add(File.GetUri(File.DirAssets, "Main.css"))
valida.Show
B4X:
css
.table-row-cell:odd{
-fx-background-color:lightblue;
}
.table-row-cell:filled:focused:selected {
-fx-background-color: red;
-fx-background-insets: 0, 1, 2;
-fx-background: -fx-accent;
-fx-text-fill: -fx-selection-bar-text;
}
.table-cell:selected {
-fx-font-family: "Segoe UI Semibold";
-fx-text-fill: white;
-fx-background-color: blue;
}