Skip to content

[Feature]: Layout legend, scale bar and graticule labels take a text size, and Publication Layout scales them with the sheet #2581

Closed

Description

@jgregoriorincon

Before you start

What problem does this solve?

Publication Layout sizes its title, subtitle and footer by the sheet's short side (A4 = 1), but the legend (12 pt title, 9 pt rows), the scale bar's labels (8 pt) and the graticule's labels (8 pt) have fixed sizes, and the strips kept for the graticule's labels are fixed in mm. On A2, A1 and A0 they come out tiny next to the title. On A5 portrait, a long legend takes so much of the page that the map is fitted at a smaller scale and veiled. These elements have no setting for their text size, so this can't be fixed by hand either.

Proposed solution

Three pull requests, each with its own project capability:

  1. Legend textSize (points of its rows, default 9; title and patches follow in proportion) in layout.addElement, layout.update and the Format pane. Layouts saved before draw the same.
  2. Scale bar textSize (default 8) and grid labelSize (default 8), the same way.
  3. Publication Layout sets the three to its sheet's factor, and scales the graticule's label strips with them. A4 sheets and figures stay as they are.

Estimated scope

Medium: a broader feature that is feasible in a reasonable timeframe

Alternatives considered

  • A single scale factor per element: less clear in the UI than a point size.
  • Per-item legend styles: a larger change, left for later.

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. jgregoriorincon commented on Nov 21, 2026

    @jgregoriorincon
    ContributorAuthor

    I'm working on this, starting with part 1 (legend text size).

  3. added 20 commits that reference this issue on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions