The background color of a selected row now overrides the background color of its cells.

[GB.WEB.GUI]
* BUG: The background color of a selected row now overrides the background color of its cells.
* BUG: WebTable: Use white text for the index column of selected rows.
This commit is contained in:
Benoît Minisini 2023-03-02 01:06:28 +01:00
parent be395c4ea1
commit 9496ef2cdc
3 changed files with 11 additions and 1 deletions

View file

@ -129,6 +129,8 @@ Public Sub WebTable1_Data(Row As Integer, Column As Integer, Data As WebTableDat
If Not hStat Then Return
$aStat[Row] = hStat
Endif
If hStat.Size < 1024 Then Data.Background = Color.Yellow
Select Case Column
Case 0

View file

@ -165,7 +165,7 @@
Sortable = True
}
{ btnTable WebButton
#MoveScaled(23,59,15,4)
#MoveScaled(14,62,15,4)
Height = "1.5em"
Visible = False
Ignore = True

View file

@ -1132,3 +1132,11 @@ TD.gw-table-check {
width: 100%;
height: 100%;
}
TR.gw-selected > TD {
background-color: inherit !important;
}
TR.gw-selected > TD.gw-table-index {
color: white;
}