pliroforikos Active Member Licensed User Dec 22, 2021 #1 Goodday to all How can i set a logo as a title without set title to False? I tried this without success B4X: Dim logo As Bitmap = LoadBitmap(File.DirAssets, "icon.png") B4XPages.SetTitle(Me, logo)
Goodday to all How can i set a logo as a title without set title to False? I tried this without success B4X: Dim logo As Bitmap = LoadBitmap(File.DirAssets, "icon.png") B4XPages.SetTitle(Me, logo)
TILogistic Expert Licensed User Longtime User Dec 22, 2021 #2 ? B4X: Dim cs As CSBuilder cs.Initialize cs.Image(LoadBitmap(File.DirAssets, "icon.png"), 32dip, 32dip, False) cs.Append(Chr(160)).Append(Chr(160)) cs.Append("My title") cs.PopAll B4XPages.SetTitle(Me, cs) Last edited: Dec 22, 2021 Upvote 2
? B4X: Dim cs As CSBuilder cs.Initialize cs.Image(LoadBitmap(File.DirAssets, "icon.png"), 32dip, 32dip, False) cs.Append(Chr(160)).Append(Chr(160)) cs.Append("My title") cs.PopAll B4XPages.SetTitle(Me, cs)
TILogistic Expert Licensed User Longtime User Dec 22, 2021 #3 it looks much better B4X: Dim cs As CSBuilder cs.Initialize cs.Image(LoadBitmap(File.DirAssets, "icon.png"), 32dip, 32dip, True) cs.Append(Chr(160)).Append(Chr(160)) cs.VerticalAlign(-8dip) cs.Append("My title") cs.PopAll B4XPages.SetTitle(Me, cs) Last edited: Dec 22, 2021 Upvote 2
it looks much better B4X: Dim cs As CSBuilder cs.Initialize cs.Image(LoadBitmap(File.DirAssets, "icon.png"), 32dip, 32dip, True) cs.Append(Chr(160)).Append(Chr(160)) cs.VerticalAlign(-8dip) cs.Append("My title") cs.PopAll B4XPages.SetTitle(Me, cs)