Html text in label and web viewer

i need text shown in app with proper paragraph and html, see same html text in web viewer and label. i can show in label as shown in web viewer.


above is webviewer and below is label

Hi dear,

Have you tried enabling HTML in the label properties?

Yes, that why text look like this otherwise real text is

<ol>
<li style="text-align: justify;">This Act may be called The Motor Vehicles Act, 1988.</li>
<li style="text-align: justify;">It extends to the whole of India.</li>
<li style="text-align: justify;">It shall come into force on such date as the Central Government may, by notification in the Official Gazette, appoint; and different dates may be appointed for different States and any reference in this Act to the commencement of this Act shall, in relation to a State, be construed as a reference to the coming into force of this Act in that State.</li>
<li style="text-align: justify;"><a href="https://egazzete.mahaonline.gov.in/Forms/GazetteSearch.aspx" target="_blank">MH GAZZETTE</a></li>
</ol>

In webview this can be clicked, but with labels I don’t know if you can click it, once u enable labe clicked to true it will run the whole label, maybe I misunderstood what you want

I tried something like this before, image below


It’s possible but it’s impossible to click it to make any functions

So your goal can be possible but u can’t click that​:green_heart:

sorry, I misread :man_facepalming:
Anyway, it’s exactly as Ibrahim says, unfortunately label formatting is very basic and doesn’t support all tags.

Could you explain better why you can’t use a WebViewer? Maybe we can find another solution.

i just want to use web viewer instead of label currently use Subsection label to show text


but now for proper arrangement and use more html feature such as Table, link, etc. I used Web Viewer to show text and this work perfectly.

now i want to replace label component from this

like Label Text of Component, Set Label Text of Component to, help me with this this is used for changing the colour of searched text

I don’t think I fully understood, do you need to simply highlight some text in the WebViewer?

If so, using :raising_hands:vknow:raising_hands:’s CustomWebView you can use the built-in function.