Author Topic: How to adjust highlight spacing  (Read 137 times)

kiu

  • Newbie
  • *
  • Posts: 2
How to adjust highlight spacing
« on: October 16, 2018, 08:52:02 AM »
Hi, I'm trying to create a custom hypertext-highlight. So I have written the following style:

opening Tag:
<sprite name="Startbox_Rounded_O"><font="Godfrey-Bold SDF"><color=#000000ff><mark=#ED740B>

closing Tag:
</mark></color></font><sprite name="Hyperlink_O_Rounded">

The Result looks like this:
[ Guests cannot view attachments ]

The marking is too snug around the text. Is there any way to increase the height of the orange marking or a workaround to achieve the same result?

Stephan B.

  • Administrator
  • Hero Member
  • *****
  • Posts: 5631
Re: How to adjust highlight spacing
« Reply #1 on: October 16, 2018, 06:09:10 PM »
It is not currently possible to do so. However, that is functionality that I would like to add in the near future.

My current thoughts are to add a padding attribute to the mark tag.

<mark color=#FF800080 padding="0.5, 0.5, 1.0, 1.0"> where these values are left, right, top and bottom.

kiu

  • Newbie
  • *
  • Posts: 2
Re: How to adjust highlight spacing
« Reply #2 on: October 17, 2018, 12:41:44 AM »
This sounds really good. Thank you! Will this be available before christmas?

Stephan B.

  • Administrator
  • Hero Member
  • *****
  • Posts: 5631
Re: How to adjust highlight spacing
« Reply #3 on: October 17, 2018, 02:17:34 AM »
This sounds really good. Thank you! Will this be available before christmas?

I should be able to add that before then.