Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Bounding box doesn't update correctly when text with padding is updated #110

@ayjee

Description

@ayjee

I have a button symbol which contains a group, which has a text layer and a nested symbol for the buttons layer styles (background-color and border-radius). When attempting to override the text content in the symbol, the padding on the group will update correctly via anima, but the bounding box around the button adds extra whitespace around the symbol. In the case of this gif it adds a half pixel on the left and on the right it adds whitespace to match the original symbol size.

If I tinker with it by adding different text content it will sometimes resize to no longer be the same size as the original symbol, but when entering certain strings the extra half pixel always remains around the bounding box on the left/right sides. For example, there were other times I used the string "Cancel" and the bounding box updated to have a half pixel extra on the left and the right side.

Screen Recording 2019-04-18 at 10 53 AM

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