[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:
parent
7d435cf968
commit
c0894c291f
2 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue