Skip to content

Line numbers' font size update with respective line's greatest font size #148

@JordanMartinez

Description

@JordanMartinez

Hello Tomas,

I noticed that, if I changed my area's style's font size by using the remapping approach (#142), the LineNumberFactory doesn't update its labels' font size as well. Thus, you get an area like the one shown below:
hello_018

Ideally, all of the respective line's styles' font sizes should be compared until the largest one is found. The largest font size should be the size of its respective line number label. Is such an enhancement outside the scope of this project?

I made a variation of the LineNumberFactory that will update its label sizes when a Property changes (the same Property that remaps my style to the new font size), but is there a better way around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions