Jump to content

Creating a quote in UniLabel


artem_niko

Recommended Posts

Good afternoon!
I wanted to make a nice explanatory text on the form, which is written in my Uilabel.
So, I found here examples of the design of quotations:  https://atuin.ru/blog/oformlenie-citat-na-css/

So far I liked option 2:

image.png.6a08a034135501570c77e99a61637e19.png

I took the CSS code from the example, added it to my shared CSS file.
But, now how do I properly apply it to UniLabel?

Right in UniLabel.Caption wrote like this:

<blockquote class="blockquote-2"><p>Выполните настройки...</p></blockquote>

But, besides the fact that it does not work, it is not displayed for some reason, the cache was cleaned, etc., then I understand that it is necessary to use the LayoutConfig property somehow, probably.
Please tell me how to apply the code correctly so that I don't write tags in Caption.

Link to comment
Share on other sites

On 12/3/2022 at 12:29 PM, artem_niko said:

Good afternoon!
I wanted to make a nice explanatory text on the form, which is written in my Uilabel.
So, I found here examples of the design of quotations:  https://atuin.ru/blog/oformlenie-citat-na-css/

So far I liked option 2:

image.png.6a08a034135501570c77e99a61637e19.png

I took the CSS code from the example, added it to my shared CSS file.
But, now how do I properly apply it to UniLabel?

Right in UniLabel.Caption wrote like this:

<blockquote class="blockquote-2"><p>Выполните настройки...</p></blockquote>

But, besides the fact that it does not work, it is not displayed for some reason, the cache was cleaned, etc., then I understand that it is necessary to use the LayoutConfig property somehow, probably.
Please tell me how to apply the code correctly so that I don't write tags in Caption.

Nobody knows?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...