[GB.WEB.FORM]

* BUG: WebTable: Cell foreground color is correctly taken into account.


git-svn-id: svn://localhost/gambas/trunk@7552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-01-05 01:29:13 +00:00
parent 8dd59f2717
commit ab5628b57d
4 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# Gambas Project File 3.0
# Compiled with Gambas 3.8.90
Startup=Webform2
Startup=Main
UseHttpServer=1
Version=3.8.90
VersionFile=1

View file

@ -4,7 +4,8 @@
Public Sub Main()
Debug Base64(File.Load("arrow-right.png"))
'Debug Base64(File.Load("arrow-right.png"))
Debug WebForm._GetColor(Color.Gray)
End

View file

@ -78,7 +78,7 @@ Public Sub _Render()
hCol._PrintAlignment()
sStyle = ""
If hData.Background <> Color.Default Then sStyle &= "background-color:" & WebControl._GetColor(hData.Background) & ";"
If hData.Foreground <> Color.Default Then sStyle &= "color:" & WebControl._GetColor(hData.Background) & ";"
If hData.Foreground <> Color.Default Then sStyle &= "color:" & WebControl._GetColor(hData.Foreground) & ";"
If sStyle Then Print " style=\""; sStyle; "\"";
Print ">";
If hData.Html Then

View file

@ -1,4 +1,4 @@
Webform2
Main
0
0