|Re: [orion-dev] Why is ruler offset by lineHeight ?|
On Thu, Aug 18, 2011 at 10:48 AM, Silenio Quarti <Silenio_Quarti@xxxxxxxxxx> wrote:
Every ruler div has one extra div at the top (firstChild before any lines). This div is used to determine the width of the ruler. Its height is "lineHeight". The ruler is offset by "lineHeight" to hide this div above the editor.Ok, thanks, that's fine, I can just add +1 to the line to move my annotation down. Now how can I control the width of that div?
Back to the top