omarruben Active Member Licensed User Longtime User Mar 9, 2021 #1 B4X: cs.Initialize.Color(Colors.Red).Append("abc ") AppendImage(cs, LoadBitmap(File.DirAssets, "Cloud Network.png")) cs.Append(CRLF).VerticalAlign(5dip).Append("Send Documents") cs.PopAll swbtnSendDocuments.xLBL.Text = cs is show a text with many configurations , what to do????? it shows something like this: <B4ICSBuilder:abs { NSColor="UIExtendedSRGB.............. instead the text and icon Last edited: Mar 10, 2021
B4X: cs.Initialize.Color(Colors.Red).Append("abc ") AppendImage(cs, LoadBitmap(File.DirAssets, "Cloud Network.png")) cs.Append(CRLF).VerticalAlign(5dip).Append("Send Documents") cs.PopAll swbtnSendDocuments.xLBL.Text = cs is show a text with many configurations , what to do????? it shows something like this: <B4ICSBuilder:abs { NSColor="UIExtendedSRGB.............. instead the text and icon
angel_ Well-Known Member Licensed User Longtime User Mar 10, 2021 #2 Try this: B4X: swbtnSendDocuments.xLBL.AttributedText = cs Upvote 0
angel_ Well-Known Member Licensed User Longtime User Mar 10, 2021 #4 And this: B4X: XUIViewsUtils.SetTextOrCSBuilderToLabel(swbtnSendDocuments.xLBL, cs) Upvote 0
omarruben Active Member Licensed User Longtime User Mar 10, 2021 #5 excellent, that is the way !!!!, thank you so much Upvote 0