Skip to content

Increase length of Graph Item 'value' field to support pango-markup better #2688

@frontierliu

Description

@frontierliu

In case cacti 1.x support pango-markup text format, it is a good function to make cacti's graph text to have more color and other attributes.
But when I create a gprint_preset for input a pango-markup format string, eg. "<span foreground="blue" size="x-large">%8.2lf%s</span>", the text input box size limit to 40 chars, it is not enough for that pango-markup style string. I suggest increase the size limit to 100 chars, for better support pango-markup format string. 100 chars fit to the database gprint_preset table's field definition, no need to change database table. I found that text input box size limit was define in include/global_form.php, a minor modify shoud be ok.
Just a suggestion, thanks for the Cacti team's great work and I love it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral tag for an enhancementguiUI related issueresolvedA fixed issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions