B4J Question [Abmaterial] component in container looks wider than page cell?

liulifeng77

Active Member
Licensed User
Longtime User
when I browser the page in the cellphone, the component(12 cells wide) in the container looks wider than page cell?
page cell 's backcolor is green.
the main code:
buildpage
page.AddRows(1,True, "").AddCellsOS(4,1,0,0,3,3,3,"")


in container:
contain.Initialize(page,"contain"&cm,"")
contain.AddRowsM(1,True,0,0,"").AddCellsOS(1,0,0,0,12,12,12,"sub")
contain.AddRowsM(2,True,0,0,"").AddCellsOSMP(1,0,0,0,12,12,12,10,10,0,0,"sub")
contain.AddRowsM(1,True,0,0,"").AddCellsOSMP(1,0,3,3,4,1,1,10,10,0,0,"").AddCellsOSMP(1,3,0,1,3,4,1,10,10,0,0,"").AddCellsOSMP(1,0,0,0,4,1,1,10,10,0,0,"")
contain.AddRowsM(1,True,0,0,"").AddCellsOS(1,0,0,0,12,12,12,"sub")
contain.BuildGrid
 

Attachments

  • cap.PNG
    cap.PNG
    93.7 KB · Views: 211
Last edited:

liulifeng77

Active Member
Licensed User
Longtime User
I set the offset to 0. page.AddRows(1,True, "").AddCellsOS(4,0,0,0,3,3,3,"")
still wider!

if i use code :"page.AddRows(1,false, "").AddCellsOS(4,0,0,0,3,3,3,""). component's text is Incomplete.

psb
psb
 
Upvote 0
Top