B4J Question button size is different(ABMButton,ABMFileInput)

jinyistudio

Well-Known Member
Licensed User
Hi
Can their button size be the same size ? :rolleyes:
 

alwaysbusy

Expert
Licensed User
You will have to override the default CSS:

B4X:
' 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
 

jinyistudio

Well-Known Member
Licensed User
Can i put abminput into the abmmodalsheet ?
 

Harris

Expert
Licensed User
Can i put abminput into the abmmodalsheet ?
Different question than original.... Should be a new post.
Did you mean "ABMFileInput"?
Have you tried?
 

jinyistudio

Well-Known Member
Licensed User
sorry, it is ABMFileInput.
 

Cableguy

Expert
Licensed User
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!
 
Top