alienhunter Active Member Licensed User Longtime User Mar 12, 2018 #1 Hi , i have a understanding problem , with a contanier and this grid B4X: openshipcount.AddRows(1,True,"").AddCellsOS(1,10,10,0,1,1,1,"").AddCellsOS(5,10,10,0,2,2,2,"").AddCellsOS(1,10,10,0,1,1,1,"") openshipcount.AddRows(1,True,"").AddCellsOS(3,0,0,0,4,4,3,"").AddCellsOS(3,0,0,0,12,12,1,"") openshipcount.BuildGrid ' IMPORTANT! floating buttons do not align icon in center B4X: Dim btn6 As ABMButton btn6.Initializefloating(page, "btn4", "mdi-action-account-circle", "transparent") btn6.size = ABM.BUTTONSIZE_Normal btn6.IconAlign=ABM.ICONALIGN_CENTER openshipcount.Cell(2,6).AddComponent(btn6) any suggestions ? thanks AH Last edited: Mar 12, 2018
Hi , i have a understanding problem , with a contanier and this grid B4X: openshipcount.AddRows(1,True,"").AddCellsOS(1,10,10,0,1,1,1,"").AddCellsOS(5,10,10,0,2,2,2,"").AddCellsOS(1,10,10,0,1,1,1,"") openshipcount.AddRows(1,True,"").AddCellsOS(3,0,0,0,4,4,3,"").AddCellsOS(3,0,0,0,12,12,1,"") openshipcount.BuildGrid ' IMPORTANT! floating buttons do not align icon in center B4X: Dim btn6 As ABMButton btn6.Initializefloating(page, "btn4", "mdi-action-account-circle", "transparent") btn6.size = ABM.BUTTONSIZE_Normal btn6.IconAlign=ABM.ICONALIGN_CENTER openshipcount.Cell(2,6).AddComponent(btn6) any suggestions ? thanks AH
Harris Expert Licensed User Longtime User Mar 12, 2018 #2 alienhunter said: btn6.IconAlign=ABM.ICONALIGN_CENTER Click to expand... What happens when you comment this out? They are by default cenetered I thought... Upvote 0
alienhunter said: btn6.IconAlign=ABM.ICONALIGN_CENTER Click to expand... What happens when you comment this out? They are by default cenetered I thought...
alienhunter Active Member Licensed User Longtime User Mar 12, 2018 #3 Harris said: What happens when you comment this out? They are by default cenetered I thought... Click to expand... thanks for the reply, it is the same thing out of center , hmmmm Upvote 0
Harris said: What happens when you comment this out? They are by default cenetered I thought... Click to expand... thanks for the reply, it is the same thing out of center , hmmmm