Ability to Set Margin in Entry Box
January 23, 2018 12:00 AM
I'd like to be able to set a margin inside an entry box the way that I can with a regular text box.
Discussion (2)
I know we have this written up somewhere... it's really becoming essential to making nice looking training. I'll see if I can get the product team to put a priority on it!
Until then here is a workaround ...
If you are on Lectora 17.1.1 or Lectora Online you can do the following to format all your entry fields for your published course. Add a Title level On Show Action that Runs Javascript with this:
triv$('input,select').css('border','0px').css('padding-left','10px').css('border-radius','10px');
That gives you input fields without borders, padding on the left, and rounded edges. You can experiment with the css settings to make it look how you would like. (See attached screenshot)
If your title is a responsive title you will also have to add another action to do the same when a device rotation happens.
Thanks, Joe - I appreciate your prioritizing this and providing a JavaScript workaround!
undefined
(Sorry for the delayed response...I did see your response earlier, via email, but have been too overwhelmed with work this past week to even go in and post this message.)
Discussions have been disabled for this post