B4J Question [ABMaterial] build CustomComponent could fill screen

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi

I will create a customcomponent to draw a svg file into following area but i don't know how to fill it. use css or ???

 

jinyistudio

Well-Known Member
Licensed User
Longtime User
Use following code is OK : page.Cell(1,1).SetFixedHeightFromBottom(4,False)

following picture draw by inkscape/svg


B4X:
ABMShared.BuildNavigationBar(page, "儀表板", shared.LogoIcon, "", "dashboard", "board1")
    page.AddExtraJavaScriptFile(shared.ArcherMinJsFile)
    page.AddRowsM(1,False,0,0,"").AddCells12(1,"")
    page.BuildGrid 'IMPORTANT once you loaded the complete grid AND before you start adding components  
    '
    archer1.Initialize(page,"archer1",Me,"900px","600px")
    'archer1.AddArcherJavaScriptFile(page)
    page.Cell(1,1).SetFixedHeightFromBottom(4,False)  
    page.Cell(1,1).AddComponent(archer1.ABMComp)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…