B4J Question button size is different(ABMButton,ABMFileInput)

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi
Can their button size be the same size ? :rolleyes:
 
You will have to override the default CSS:

Code:
' must be done in ConnectPage, not BuildPage
page.InjectCSS($".height36 .btn,.height36 .btn-large {height: 36px;line-height: 36px;margin-top: 3px}"$)
    
Dim inp1 As ABMFileInput
inp1.Initialize(page, "inp1", "Select a file", "Open", True, "input", "button")    
inp1.HTMLAddClass("height36")    ' add the CSS class
page.Cell(2,1).AddComponent(inp1)

Alwaysbusy
 
Upvote 0
Can i put abminput into the abmmodalsheet ?
 
Upvote 0
sorry, it is ABMFileInput.
 
Upvote 0
Except for very rare exceptions, if any, any ABM control can be placed inside any container.
ABModalsheet is "just" anther place where you can place your containers and define your grids!
 
Upvote 0
Back
Top