[GB.WEB.FORM]

* BUG: WebButton: Remove all padding for buttons with no border.


git-svn-id: svn://localhost/gambas/trunk@7547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-01-03 18:24:13 +00:00
parent 7d435cf968
commit c0894c291f
2 changed files with 12 additions and 8 deletions

View file

@ -413,14 +413,17 @@ Public Sub _UpdateProperty(sProp As String, vValue As Variant)
Dim aWindows As String[]
Dim sName As String
If sProp = "#windows" Then
aWindows = vValue
Inc _DisableRefresh
For Each sName In aWindows
WebControl.FromName(sName).Raise()
Next
Dec _DisableRefresh
Endif
Select Case sProp
Case "#windows"
aWindows = vValue
Inc _DisableRefresh
For Each sName In aWindows
WebControl.FromName(sName).Raise()
Next
Dec _DisableRefresh
End Select
End

View file

@ -41,6 +41,7 @@ P:first-child,UL:first-child,OL:first-child {
.gw-button.gw-noborder {
border: solid 1px transparent;
background: none;
padding: 0;
}
.gw-button.gw-noborder:hover {