How to make parts of text bold and other regular in Native (with javascript)?

1
hi, I got designs to make certain texts parts of a paragraph bold. Now I did search on the forum and I saw an earlier post (here) about it not being possible and that I have to do it in separate text widgets, so I did and I used wrap and render children horizontal but it isn’t working. I hope someone can help me, I’ve attached a screenshot. Its all breaking into separate lines. thanks!
asked
4 answers
0

I've found the corresponding app with the Slack thread in the app store https://marketplace.mendix.com/link/component/116339 

answered
1

Try this structure in your page. One parent container, two containers inside it. and then text widgets in each inner container. I tested this and it works. The text appears in single line like “Bold Text”

Just make these configurations:

  • Set font weight to bold of the text widget which is required to be bold
  • Set parent containers properties in appearance tab of the container widget:
    • Render children horizontal: Yes
    • Wrap children:  Yes


 

 

Main container:

answered
0

A different approach would be a look at using something like the HTML Snippet widget in the Marketplace. You could then embed the markup you need directly into the text.

answered
0

Check out a post on Slack about a similar issue.

https://mendixcommunity.slack.com/archives/CMVNKFMC0/p1606137163345900 

Might be of help here.

answered