Text scaling multiple objects
January 19, 2016 12:00 AM
Is there no way to apply text scaling to multiple objects? I have quizzes with a lot of potential answers and this is taking forever to individually select every text box in 5 different views.
Discussion (4)
Thanks. That makes sense, although I already went through the biggest quiz we have to resize everything. I could try that on our other tests when I get to them.
rwalters, you can accomplish this using CSS without a revision to Lectora (although it'll be a welcome addition).
In the attached example, I set up a CSS rule that will be applied to any multiple choice text block that has been assigned a class of "custom" - no quotes.
This will work with any multiple choice question. The awt file is included in the zip file. load it up and play around with the answer text blocks by assigining or unassigning them a class of "custom" - no quotes. You will see that those that are assigned that class will be resized to 8pts (as determined by the added css.)
To use this, copy the css that I added (or just grab the fontSize.css file), add it to your project via HTML Extension - Cascading Style Sheet. You can change the font-size to whatever you wish. You can also style just about any other font attribute by adding them to the rule.
If you or anyone else would like to implement this and need assistance, or if you just want to understand more about how this works, shoot me a message.
Darrel
Thanks. It's especially helpful for tests as there are many more text blocks than most pages.
For now the functionality works for only one text box. I'll make the concept of selecting mulitiple text boxes to expedite scaling is listed for potential improvements.
Discussions have been disabled for this post