Skip to content

Access the block's height and width excluding child blocks #7212

@BeksOmega

Description

@BeksOmega

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

code.org wants to create a flyout field that is sized to the existing size of the block, so it takes up an entire input row. But currently there is no way to access with width of the block excluding children, so this isn't possible.

image

Request

Add a way to access the block's height and width excluding child blocks. We cannot use getHeightWidth because that is already taken, but maybe we can use getHeightWidthWithoutChildren.

Alternatives considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExternal contributions actively solicitedissue: feature requestDescribes a new feature and why it should be addedsize: smallBugs that can be picked up and completed in 1-3 days

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions