Hi Mashiane
as usual I do tests your projects to learn.
In your BANanoReactMDLDemo, in pgLesson15/Sub Show, i tried to add an image in the header but
I can't set a margin/padding on the left.
where am I wrong?
Thanks
as usual I do tests your projects to learn.
In your BANanoReactMDLDemo, in pgLesson15/Sub Show, i tried to add an image in the header but
I can't set a margin/padding on the left.
B4X:
'*** HEADER ***
'fixed header
lay.SetFixedHeader(True)
'lay.Header.SetWaterFall(True)
Dim imghead As MDLImage
imghead.Initialize(BR, "logo").SetPropHeight(60).SetProps(CreateMap("margin-left": "20px"))
imghead.SetSrc("./assets/logo.png")
lay.Header.AddReactElement(imghead.Image)
'set the header title
lay.Header.SetSpacer(True)
lay.Header.SetTitle("BANanoReactMDL")
where am I wrong?
Thanks