Making a variable bold without using inline formatting

This forum is for all Flare issues related to styles, stylesheets and XML.

Making a variable bold without using inline formatting

Postby aharper12 on Thu Aug 08, 2019 5:23 pm

Hi everyone,

Just starting to dig into Flare, learning css, and pulling some hair out while I am at it :)

Question - is there a way to make a variable bold, without using inline formatting? We use variables to reference buttons in our software, and we want them to also be bold. I have not been able to figure this out so far!

Thanks in advance.
Adriana
aharper12
Jr. Propeller Head
 
Posts: 6
Joined: Wed May 01, 2019 12:13 pm

Re: Making a variable bold without using inline formatting

Postby ChoccieMuffin on Wed Sep 04, 2019 9:02 am

I would use a span, defined in my stylesheet, and insert the variable inside the span. That's how I used to have to do it, currently my projects don't require this, so there may be a better way to do it.
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2150
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Making a variable bold without using inline formatting

Postby Chicago_HPT on Wed Sep 04, 2019 10:39 am

I made snippets for variables that I need to format, where I applied a span style as ChoccieMuffin mentioned. Then, instead of inserting the variable into a topic, I insert the snippet. If the variable has multiple definitions, I can set the value by right-clicking the inserted snippet and using the snippet variable option from the pop-up menu.
Chicago_HPT
Propeller Head
 
Posts: 71
Joined: Sun Feb 03, 2013 6:01 pm


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 3 guests