B4J Question ABMaterial Image set ALIGN_RIGHT?

Alexander Stolte

Expert
Licensed User
Longtime User
Hello,

Here my Problem:

001.PNG


You can see, that the image calls "New" on the left side of the cell is, is that possible to set it to right?
On "MyTheme" is not a "Image" view available :/


It does not look proportional.

Greetings.
 

Harris

Expert
Licensed User
Longtime User
Supply your BuildPage and ConnectPage code to see how you handled this.
Using themes for rows and cells, you can pad (Left, Top, Right, Bottom) or position (left, center, right) anything you want.

OR...

Often, I have rows with no theme (simple). Then I find in row 5, cell 2 I need to pad the top margin by 25px - but not all other cells.

B4X:
    Dim inpactive As ABMCheckbox
    inpactive.Initialize(page, "empactive", "Active",  False, "")
    inp.Content.CellR(0,2).MarginTop = "25px"
'    inp.Content.CellR(0,2).UseTheme( " just an experiment - try a theme for this cell ")....
    inp.Content.CellR(0,2).AddComponent(inpactive)
    inpactive.IsFilled = True

There is so much more to this framework than you or I will ever comprehend.
Everyday, you will find it accommodates your needs when you dig in and learn and experiment with the outcome.
 
Upvote 0
Top