Skip to content

Unify component pad logic #997

Closed
Closed
@etpinard

Description

@etpinard

PR #989 added pad to update menus, and PR #986 with to do same for sliders.

At the moment, colorbars are using xpad and ypad to determine their horizontal padding ➡️ we should switch them to pad.l + pad.r (++ add a backward-compatible cleanLayout step) and add support for pad.t and pad.b while at it.

We should also allow legends, range selector and range sliders to set their own pad options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions